# Trufflehog
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
Setup
```sh
brew install 'trufflehog'
docker pull 'trufflesecurity/trufflehog:latest'
```
Usage
```sh
trufflehog git 'https://github.com/trufflesecurity/test_keys' --only-verified
docker run --rm -it -v "$PWD:/pwd" 'trufflesecurity/trufflehog:latest' \
github --repo 'https://github.com/trufflesecurity/test_keys'
```
## Further readings
- [Website]
- [Main repository]
Alternatives:
- [`detect-secrets`][detect-secrets]
- [gitleaks]
- [`ripsecrets`][ripsecrets]
### Sources
[detect-secrets]: detect-secrets.md
[gitleaks]: gitleaks.md
[ripsecrets]: ripsecrets.md
[main repository]: https://github.com/trufflesecurity/trufflehog
[website]: https://trufflesecurity.com/