Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Retrieve an email address of sysadmin only knowing the IP address

by earthboundmisfit (Chaplain)
on Aug 09, 2001 at 19:33 UTC ( [id://103451]=note: print w/replies, xml ) Need Help??


in reply to Retrieve an email address of sysadmin only knowing the IP address

You could use ARIN.net and then parse the results:
#!/the/world/is/my/Perl -w use strict; use LWP; my $theIP = '206.170.14.76' #could easily be passed as a postarg or en +vironment var my $ua = new LWP::UserAgent; my $req = new HTTP::Request 'POST', 'http://www.arin.net/cgi-bin/whois +.pl'; $req->content_type('application/x-www-form-urlencoded'); $req->content('queryinput=', $theIP); my $response = $ua->request($req); &parse_resp($response); sub parse_resp { ..... # [HTML::Parser] }
  • Comment on Re: Retrieve an email address of sysadmin only knowing the IP address
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://103451]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found