Wednesday, October 7, 2009

New release - subdomainLookup - Find subdomains using Google

For those who didn't notice, there is a new version of the subdomainLookup script available, which can be downloaded from here.

This 0.4 version is fairly improved and the results really differ from the old one. Here is a comparison;


19 subdomains found for

Same output using the old one;

Warning: Use this script for your own domains only. By using this script, you may be violating Google's terms of service.


David said...

this is a great tool! thanks! on some larger domains i get this error ".....HTTP Error 414: Request-URI Too Large"

Sertan Kolat said...

Hi David,

Thanks for your comment. This may occur when the search query becomes longer than Google's limits.

Search for "25" in file and try changing it with a lower number like 23 or 20.

Me said...

As of now, there is no line with 25 in it, but if you comment out the sys.exit() (as below) and, instead, replace it with return "", you'll at least get some results:

except urllib2.HTTPError, e:
print e
return "";

There are more graceful solutions, but this is a quick hack.

Sertan Kolat said...

Hi Me,

Yes, the script was updated after the latest blog post and line 25 instruction is now inactive/fixed.

Thanks for your comments, I'll check out your recommendation.