GeneralTesler/tracerT

AttributeError: 'NoneType' object has no attribute 'findAll'

joselbr2099 opened this issue · 3 comments

I just installed the tool but I have this problem:

$ python tracerT.py ghdb -c 9 -o dorks.csv      
 "You'll never CAPTCHA me alive"

[+] Pulling list of dorks from GHDB
Traceback (most recent call last):
  File "tracerT.py", line 285, in <module>
    ghdb_main(args)
  File "tracerT.py", line 271, in ghdb_main
    dorks = retrievedorklist(args['category'])
  File "tracerT.py", line 59, in retrievedorklist
    dorks = extractdorks(soup)
  File "tracerT.py", line 37, in extractdorks
    for each in table.findAll('tr'):
AttributeError: 'NoneType' object has no attribute 'findAll'

already install requirements, my version of python is:

$ python -V
Python 2.7.12

$uname -a
Linux Bserv 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

what's going on?
I think it's a problem to get the dorks from ghdb

Please refer to the README:
"Note: GHDB has recently changed considerably, so this module may not work. This will eventually be addressed."

This is likely a result of the recent changes made to the Google Hacking Database, which the GHDB module scrapes.

just change the url from www.exploit-db.com to old.exploit-db.com

@audit123 - This seems to work, thanks! Fixed in 670914a