dxa4481 / truffleHogRegexes

These are the regexes that power truffleHog
GNU General Public License v3.0
211 stars 97 forks source link

Specific secret keys identification in source code #21

Open gaurav-mmt opened 4 years ago

gaurav-mmt commented 4 years ago

I would like to check specific set of credentials/keys are defined in source code or not. As i am defining for example this regex.json file and i have also committed the same in my source code for testing purpose. { "API key": "ABEFDSPUEPPDUEDE" "API key": "ABEFDSPUEPPDUasds" "API key": "ABEFDSPUEasdsdsdef" }

I executed this command to figure out the trufflehog output with above API keys but i haven't received any of them in output. Please help on it

trufflehog --rules regex.json --entropy=False githuburl