techgaun / github-dorks

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

Not run the github-dork.py exucutable file #40

Open sushantdhopat opened 4 years ago

sushantdhopat commented 4 years ago

first i install the github-dork with git clone then i install all requirements with pip then i make the github-dork.py exucuable and write help cmd ./gitthub-dork.py -h is give me error this

Traceback (most recent call last): File "./github-dork.py", line 4, in import github3 as github File "build/bdist.linux-x86_64/egg/github3/init.py", line 24, in File "build/bdist.linux-x86_64/egg/github3/api.py", line 13, in File "build/bdist.linux-x86_64/egg/github3/github.py", line 10, in File "build/bdist.linux-x86_64/egg/github3/apps.py", line 7, in ImportError: No module named jwcrypto

i also install this module sepretlly with pip this say seccessfull install it but he give also same error

techgaun commented 4 years ago

Hi @sushantdhopat19 what python version are you using? And, are you still receiving same error even after you install jwcrypto?

sushantdhopat commented 4 years ago

This tool run and work properly when I use Python3 but give me every time sleep error what this is default ?I will not use it for a long time .Still he give me this error . see here i run this command and see output. $> python3 github-dork.py -r techgaun/github-dorks

Scanning Repo: techgaun/github-dorks GitHub Search API rate limit reached. Sleeping for 34 seconds.

GitHubError encountered on search of dork: filename:.htpasswd repo:techgaun/github-dorks 403 API rate limit exceeded for 49.32.34.10. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

yrrahsilieb commented 3 years ago

50

techgaun commented 3 years ago

@sushantdhopat you can use the github personal access token for getting higher rate limit. This tool is limited by the rate limiting headers from github so it tries to oblige and wait until the rate limit is freed up.

Harshj054 commented 2 years ago

Can you help me solve this error

python3 github-dork.py -r https://github.com/techgaun/github-dorks Scanning Repo: https://github.com/techgaun/github-dorks GitHubError encountered on search of dork: filename:.npmrc _auth repo:https://github.com/techgaun/github-dorks 422 Validation Failed

SaraVijay123 commented 2 years ago

i am also facing the same error. GitHubError encountered on search of dork: filename:.npmrc _auth repo:https://github.com/techgaun/github-dorks 422 Validation Failed.

Help me in solving this .