opsdisk / pagodo

pagodo (Passive Google Dork) - Automate Google Hacking Database scraping and searching
GNU General Public License v3.0
2.67k stars 487 forks source link

Tool is not working #50

Closed crazywifi closed 3 years ago

crazywifi commented 3 years ago

[-] Error with dork: intitle:"Ganglia" "Cluster Report for" [-] EXCEPTION: module 'googlesearch' has no attribute 'search' Traceback (most recent call last): File "/root/bugbounty/pagodo/pagodo.py", line 103, in go for url in googlesearch.search( AttributeError: module 'googlesearch' has no attribute 'search'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/bugbounty/pagodo/pagodo.py", line 227, in pgd.go() File "/root/bugbounty/pagodo/pagodo.py", line 145, in go if e.code == 429: AttributeError: 'AttributeError' object has no attribute 'code'

opsdisk commented 3 years ago

Hi @crazywifi - thanks for submitting the issue.

How did you install it? As a reference, the instructions are here: https://github.com/opsdisk/pagodo#installation

I'd recommend creating a Python virtual environment. My guess is you're using a system-wide install of the googlesearch library that is outdated.

crazywifi commented 3 years ago

Thanks, it's working now.