Find secrets in your codebase.
Project description
truffleHog3
This is an enhanced version of truffleHog scanner
New
- Python 3.6
- flake8 compliant code
- output to file option
- option to disable Git history checks - scan simple files/folders
- option to exclude files/directories
- config file support with automatic detection of trufflehog.json config in source code directory
Installation
Package is available on PyPI
pip install truffleHog3
Customizing
List of regexes was moved into repository, see regexes.json
Help
usage: trufflehog3 [options] source
Find secrets in your codebase.
positional arguments:
source URL or local path for secret searching
optional arguments:
-h, --help show this help message and exit
-c, --config path to config file
-r, --rules ignore default regexes and source from json
-o, --output write report to file
-b, --branch name of the branch to be scanned
-m, --max-depth max commit depth for searching
-s, --since-commit scan starting from a given commit hash
--json output in JSON
--exclude exclude paths from scan
--whitelist skip matching strings
--no-regex disable high signal regex checks
--no-entropy disable entropy checks
--no-history disable commit history check
Thanks
Special thanks to Dylan Ayrey (@dxa4481), developer of the original truffleHog scanner
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
truffleHog3-1.0.6.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for truffleHog3-1.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f4e983edb69b55b56713a95952cb0671ceccc9b9a20cc1a6e568e8e2b543408 |
|
MD5 | affe86a6500d874b9621fc9759959a42 |
|
BLAKE2b-256 | f8831677cc65092b6d5d15c05b6c3867ccc11bfe2bbb44c89efde8d0395abc1d |