Search for Secrets and Other Confidential Information Through Directories and Files Based on Regex and Search Strings.
This tool is inspired from truffleHog which was built to explore and search for api keys and other confidential information through a github repo commit repository. This tool is built to do the same but on directories by using the Regular Expressions.
Args Description Default
-h, --help Print Manual False
-t, --target Target File or Directory
for Searching and
Scanning None
-r, --regex Single Regex to Search
against the files. None
-f, --regex-json File Containing multiple
Regular Expressions in JSON
Format. Inner
-d, --depth Depth of Directories All
To Use Your own Regex file, you need to give in JSON form. An example is given here
Author: @hash3liZer