techgaun / github-dorks

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

422 Validation Failed #41

Closed saikiran7022 closed 3 years ago

saikiran7022 commented 4 years ago

GH_TOKEN=**** python3 github-dork.py -u dev-nepal

when iam testing, iam getting this error:-

Scanning User: dev-nepal GitHubError encountered on search of dork: filename:.dockercfg auth user:dev-nepal 422 Validation Failed

airborne1 commented 4 years ago

+1

sritarun3 commented 4 years ago

+1

jh-oliveira commented 3 years ago

+1

techgaun commented 3 years ago

@saikiran7022 thanks for opening the ticket. It looks like the above mentioned user does not exist any more. I see this may be an actual issue though given few +1 in the comments. I'll check tomorrow and try to get a fix out for this.

techgaun commented 3 years ago

After looking further, this would happen if the user or the repo in question does not exist. While we could improve the error message, it does not seem like this is a problem for the case when user or repo exists.

bigshebang commented 3 years ago

@techgaun are you open to a PR to fix this bug or add other, unrelated features?

techgaun commented 3 years ago

@bigshebang definitely open for any enhancements.

techgaun commented 3 years ago

Closing this because it happens if provided user/repo don't exist