jhaddix / domain

Setup script for Regon-ng
913 stars 242 forks source link

"Invalid module name" when trying to load 'google_site_web' #14

Open ghost opened 7 years ago

ghost commented 7 years ago

There is an issue when trying to load the 'google_site_web' module when running enumall.py. Interestingly, Bing works correctly in enumall.py and 'google_site_web' also works within recon-ng. This is what is occurring when trying to go through the code in pdb:

(Pdb) l
 30     pdb.set_trace()
 31     if altDnsPath:
 32             sys.path.insert(1, altDnsPath)
 33
 34     def run_module(reconBase, module, domain):
 35  ->     x = reconBase.do_load(module)
 36         x.do_set("SOURCE " + domain)
 37         x.do_run(None)
 38
 39
 40     def run_recon(domains, bruteforce):
(Pdb) module
'recon/domains-hosts/google_site_web'
(Pdb) n
[!] Invalid module name.
> /home/miqlae/domain/enumall.py(36)run_module()
-> x.do_set("SOURCE " + domain)

By the way, for testing purposes, I removed all the modules, except for Google. I also had to change the paths in the reconPath, altDnsPath variables to the correct paths, but everything else seems to work okay.

I'm testing on Ubuntu 16.04, latest versions of enumall, recon-ng and altdns.