Gold Digger is a simple tool used to help quickly discover sensitive information in files recursively. Originally written to assist in rapidly searching files obtained during a penetration test.
Installation
Gold Digger requires Python3.
virtualenv -p python3 .
source bin/activate
python dig.py --help
Usage
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="usage: dig.py [-h] [-e EXCLUDE] [-g GOLD] -d DIRECTORY [-r RECURSIVE] [-l LOG] optional arguments: -h, –help show this help message and exit -e EXCLUDE, –exclude EXCLUDE JSON file containing extension exclusions -g GOLD, –gold GOLD JSON file containing the gold to search for -d DIRECTORY, –directory DIRECTORY Directory to search for gold -r RECURSIVE, –recursive RECURSIVE Search directory recursively? -l LOG, –log LOG Log file to save output” dir=”auto”>
usage: dig.py [-h] [-e EXCLUDE] [-g GOLD] -d DIRECTORY [-r RECURSIVE] [-l LOG]optional arguments:
-h, --help show this help message and exit
-e EXCLUDE, --exclude EXCLUDE
JSON file containing extension exclusions
-g GOLD, --gold GOLD JSON file containing the gold to search for
-d DIRECTORY, --directory DIRECTORY
Directory to search for gold
-r RECURSIVE, --recursive RECURSIVE
Search directory recursively?
-l LOG, --log LOG Log file to save output

