hash3liZer / locohunt

Search for Secrets and Other Confidential Information Through Directories and Files Based on Regex and Search Strings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

locohunt
LOCOHUNT

Search for Secrets and Other Confidential Information Through Directories and Files Based on Regex and Search Strings.

lisence

Description

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.

Manual

    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

Regex

To Use Your own Regex file, you need to give in JSON form. An example is given here

Credits

Author: @hash3liZer

About

Search for Secrets and Other Confidential Information Through Directories and Files Based on Regex and Search Strings.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%