tillson / git-hound

Reconnaissance tool for GitHub code search. Scans for exposed API keys across all of GitHub, not just known repos and orgs.
MIT License
1.2k stars 187 forks source link

No data searched #58

Closed Canon88 closed 1 year ago

Canon88 commented 1 year ago

Describe the bug I'm not sure it's a bug, but after I run git-hound it never "digs" into anything. I'm using v1.6.2。I have tried searching for many different keywords and it does not give me any information. It just returns "Finished"

To Reproduce

echo "xxxx" | ./git-hound --dig-files --dig-commits --many-results --threads 100
Enter your GitHub 2FA code: 473089
[*] Logged into GitHub as {xxxxxx}
[*] Searching 90 pages of results for 'xxxx'...
[*] Searching 2 pages of results for 'xxxx'...
Finished.
skirge commented 1 year ago

Same for me

tillson commented 1 year ago

I'm having trouble reproducing this

Canon88 commented 1 year ago

I'm having trouble reproducing this

I tried again and still couldn't search for data via git-hound.

Are you using it normally?

tillson commented 1 year ago

Are y'all running using the binary download or the source code? If you're using the binary, can you try using the source code?

Canon88 commented 1 year ago

Are y'all running using the binary download or the source code? If you're using the binary, can you try using the source code?

I am using the binary run, I will try to run it with the source compiled.

The compilation action I need to perform is go build ., right?

tillson commented 1 year ago

Yep @Canon88

tillson commented 1 year ago

Do you have 2FA enabled on your account?

I'm hoping the answer is yes. I was able to reproduce when I finally tested with an account that has 2FA on. Fixed in fe1986ae803fb96656241c9f1114c1ed169fc7e3, release inbound.