All tools

OSINT

TruffleHog

Finds leaked secrets in git repos and filesystems.

beginner
Linux
macOS
Docker
Reconnaissance
Enumeration

Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.

When

Code review, OSINT on public repos, or local secret scanning.

How

Scan repo URL or directory; verify active credentials carefully.

Why

Secrets in git are a top real-world initial access path.

Commands & usage

trufflehog git https://github.com/org/repo --only-verified
trufflehog filesystem /path/to/code

Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.

Tags

secrets
git
osint

Related in OSINT