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

Documentation on config.yml #3

Closed t94j0 closed 5 years ago

t94j0 commented 5 years ago

When following the setup guide, I ran into this issue: FileNotFoundError: [Errno 2] No such file or directory: 'config.yml'

In the setup section of your README, you should add the file and file structure for config.yml.

tillson commented 5 years ago

You make a very convincing argument, Mr. Harley. I will add this to our next sprint cycle, and you can expect it to ship in 90 days.

danzee1 commented 4 years ago

Hi @tillson

I've downloaded the released binary and extracted it. And then created config.yml and added the required inputs in that file.

nano ./config.yml

But when i tried to run the command to search for anything... I got this Error

[!] config.yml was not found.
t94j0 commented 4 years ago

Make sure that your current working directory has the binary and config file in it. If you look at the ReadConfig function, it says to add the CWD to the config path. I don't remember if that's the CWD of the binary hosted or the CWD you're working from. I would recommend trying to add your config to $HOME/.githound and see if that works.

Best of luck