Google dork fails with error

Issue #286 new
Robin Wood
created an issue

Running the recon/domains-vulnerabilities/ghdb module, I got this error message:

[*] Searching Google for: site:xxx.com "Index of /backup"
[*] Searching Google for: site:xxx.com "powered by openbsd" +"powered by apache"
[*] Searching Google for: site:xxx.com intitle:index.of intext:"secring.skr"|"secring.pgp"|"secring.bak"
[!] IndexError: list index out of range
File "/home/robin/tools/recon/recon-ng/recon/mixins/search.py", line 72, in _solve_google_captcha.

Comments (4)

  1. Andrew King

    I also have the same problem and error - with different search domains.

    [*] Searching Google for: site:xxx.com
    [!] IndexError: list index out of range
    File "/usr/share/recon-ng/recon/mixins/search.py", line 72, in _solve_google_captcha.
    SOURCE => xxx.com
    [!] Timeout: timed out
    File "/usr/lib/python2.7/socket.py", line 480, in readline.
    

    I have added appropriately configured google_api and google_cse API keys from Google. Bing and Shodan with API keys work fine, so I don't think there is anything fundamentally flawed with my setup. I did a bit of research and was wondering have the Google APIs changed, such that the code as it is no longer works?

  2. Log in to comment