Jump to content

Coding reverse IP lookup to get domain names


404

Recommended Posts

I'm working on a Perl script to scan websites for files that could affect their security, for instance the phpinfi.php file. If you scan a range and the phpinfo.php file is found, the script outputs the IP address and a warning the file is found.

Ofcourse many sites can run of a single IP address, and to get these I'd need reverse IP lookup. I was wondering if anyone has ever coded something similar and knows of free, legal databases or sites to use (and how to interface with them).

Link to comment
Share on other sites

Yes, thanks Cooper! I remember reading this thread while researching, I just totally forgot it was on this very forum.

Basically it boils down to having my script query www.domaintools.com for the domains on a certain IP. I guess if you manually set up an account at www.domaintools.com, pass your login/password to the script, it could retrieve a list of domains that your have to strip from the HTML page, and have the script work with that.

Good thing the weekend is near! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...