utiso / dorkbot

Command-line tool to scan Google search results for vulnerabilities
http://dorkbot.io
Other
512 stars 96 forks source link

Keyerror: total result #19

Open researchlongueuil opened 3 years ago

researchlongueuil commented 3 years ago

I just install the script and get theses error:

Traceback (most recent call last): File "/usr/local/bin/dorkbot", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/dorkbot/dorkbot.py", line 73, in main index(db, blacklist, load_module("indexers", args.indexer), args, indexer_options) File "/usr/local/lib/python3.8/dist-packages/dorkbot/dorkbot.py", line 212, in index urls = indexer.run(options) File "/usr/local/lib/python3.8/dist-packages/dorkbot/indexers/google_api.py", line 17, in run results = get_results(options) File "/usr/local/lib/python3.8/dist-packages/dorkbot/indexers/google_api.py", line 34, in get_results items = issue_request(data) File "/usr/local/lib/python3.8/dist-packages/dorkbot/indexers/google_api.py", line 78, in issue_request if int(request["totalResults"]) == 0: KeyError: 'totalResults'

Sometingchange in the google API?

LiamWBA commented 3 years ago

This error just means that your google dork has returned no results