laramies / theHarvester

E-mails, subdomains and names Harvester - OSINT
http://www.edge-security.com/
11.09k stars 1.98k forks source link

Google Search Error - lines 929, 446, 76, 32 #211

Closed ghost closed 5 years ago

ghost commented 5 years ago

("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) Traceback (most recent call last): File "./theHarvester.py", line 929, in start() File "./theHarvester.py", line 446, in start search.process(google_dorking) File "/opt/theHarvester/discovery/googlesearch.py", line 76, in process self.do_search() File "/opt/theHarvester/discovery/googlesearch.py", line 32, in do_search self.results = r.text UnboundLocalError: local variable 'r' referenced before assignment

Confirmed that network connection is sound. Running through argument '-b all', Baidu, Bing, Cymon, Dogpile, DuckDuckGo all work fine - when hits the Google Search/Google Dorks, fails out with above error.

Thanks for your help!

NotoriousRebel commented 5 years ago

What version of the tool are you running? Google dorks is currently being worked on, as Google will start blocking requests as there are too many. We are working on getting around and this and lowering the amount of requests google dorks makes.

L1ghtn1ng commented 5 years ago

Closing as lots of changes has been done