mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
9867ce8eb8
* Write large diffs to tmp files * address comments * Move bufferedfilewriter to own pkg * update test * swallow write err * use buffer pool * use size vs len * use interface * fix test * update comments * fix test * Allow for configuring the buffered file writer * remove unused * add missing method * remove * remove unused * move parser and commit struct closer to where they are used * linter change * fix snifftest * address comments * add more kvp pairs to error * fix test * update * add back missing metadata fields * address comments * remove bufferedfile writer * fix * address comments * use unint8 * update interface * adjust interface * fix tests * make linter happy * fix finalize * address comments * update test * address comments * lint * remove guard * fix test * fix * add TODO * fix tests |
||
---|---|---|
.. | ||
main.go | ||
README.md | ||
snifftest.sh |
snifftest
See the help pages with this command, or look further below to get started quickly.
go run hack/snifftest/main.go
Show available secret scanners
go run hack/snifftest/main.go show-scanners
Scan
All scanners
go run snifftest/main.go scan --db ~/sdb --scanner all --print
Particular scanner
go run snifftest/main.go scan --db ~/sdb --scanner github --print --print-chunk --fail-threshold 5