techgaun / github-dorks

Find leaked secrets via github search
Apache License 2.0
2.83k stars 591 forks source link

Error logging for each search #38

Closed rubin55 closed 4 years ago

rubin55 commented 5 years ago

I'm testing github-dorks.py, running Python 3.x on Linux. I've set GH_USER and GH_PWD:

[rubin@THINK github-dorks (master)]$ python github-dork.py -r raaftech/session
Scanning Repo:  raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.npmrc _auth repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.dockercfg auth repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:pem private repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:ppk private repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:id_rsa or filename:id_dsa repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:sql mysql dump repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:sql mysql dump password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:credentials aws_access_key_id repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.s3cfg repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:wp-config.php repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.htpasswd repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.env DB_USERNAME NOT homestead repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.env MAIL_HOST=smtp.gmail.com repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.git-credentials repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: PT_TOKEN language:bash repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.bashrc password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.bashrc mailchimp repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.bash_profile aws repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: rds.amazonaws.com password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:json api.forecast.io repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:json mongolab.com repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:yaml mongolab.com repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: jsforce extension:js conn.login repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: SF_USERNAME salesforce repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.tugboat NOT _tugboat repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: HEROKU_API_KEY language:shell repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: HEROKU_API_KEY language:json repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.netrc password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:_netrc password repo:raaftech/session
GitHub Search API rate limit reached. Sleeping for 34 seconds.

generator raised StopIteration
Error encountered on search of dork: filename:hub oauth_token repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:robomongo.json repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:filezilla.xml Pass repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:recentservers.xml Pass repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:config.json auths repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:idea14.key repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:config irc_pass repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:connections.xml repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:express.conf path:.openshift repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.pgpass repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:proftpdpasswd repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:ventrilo_srv.ini repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: [WFClient] Password= extension:ica repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:server.cfg rcon password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: JEKYLL_GITHUB_TOKEN repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.bash_history repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.cshrc repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.history repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.sh_history repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:sshd_config repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:dhcpd.conf repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:prod.exs NOT prod.secret.exs repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:prod.secret.exs repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:configuration.php JConfig password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:config.php dbpasswd repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:config.php pass repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: path:sites databases password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: shodan_api_key language:python repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: shodan_api_key language:shell repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: shodan_api_key language:json repo:raaftech/session
GitHub Search API rate limit reached. Sleeping for 56 seconds.

generator raised StopIteration
Error encountered on search of dork: shodan_api_key language:ruby repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:shadow path:etc repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:passwd path:etc repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:avastlic "support.avast.com" repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:dbeaver-data-sources.xml repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:sftp-config.json repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.esmtprc password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: extension:json googleusercontent client_secret repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: HOMEBREW_GITHUB_API_TOKEN language:shell repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: xoxp OR xoxb repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: .mlab.com password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:logins.json repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:CCCam.cfg repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: msg nickserv identify filename:config repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:settings.py SECRET_KEY repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:secrets.yml password repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:master.key path:config repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:deployment-config.json repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.ftpconfig repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:.remote-sync.json repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:sftp.json path:.vscode repo:raaftech/session
generator raised StopIteration
Error encountered on search of dork: filename:WebServers.xml repo:raaftech/session
No results for your dork search repo:raaftech/session. Hurray!

How do I find out what's going wrong here?

rajeshpatil1 commented 4 years ago

Same issue with me.

techgaun commented 4 years ago

Thanks guys. I'll take a look and get an update here soon

techgaun commented 4 years ago

@rubin55 @rajeshpatil1 please give the recent update a try