2016-12-30 23:16:57 -06:00
2016-12-30 23:10:07 -06:00
2016-12-30 23:08:12 -06:00
2016-12-30 23:16:57 -06:00
2016-12-30 23:11:12 -06:00
2016-12-30 23:10:07 -06:00

Truffle Hog

Searches through git repositories for high entropy strings, digging deep into commit history and branches. This is effective at finding secrets accidentally committed that contain high entropy.

Example

Setup

The only requirement is GitPython, which can be installed with the following

pip install -r requirements.txt

How it works

This module will go through the entire commit history of each branch, and check each diff from each commit, and evaluate the shannon entropy for both the base64 char set and hexidecimal char set for every blob of text in each diff. If at any point a high entropy string is detected, it will print to the screen.

Languages
Go 99.7%
Shell 0.3%