secrets-searcher

command module
v0.0.0-...-5c1fc54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 1 Imported by: 0

README

secrets-searcher

Search for sensitive information stored in one or more git repositories.

This repository was inspired by truffleHog and shhgit.

Build

cd ~/go/src/github.com/pantheon-systems
git clone git@github.com:pantheon-systems/secrets-searcher.git
cd secrets-searcher
make

Pantheon usage

Obtain a GitHub token with repo access to the repositories you want to scan. To generate a new token, log into GitHub, then go to "Settings > Developer settings > Personal access tokens > Generate new token".

Then run:

cd _pantheon
export SECRETS_SOURCE_API_TOKEN="[GITHUB_TOKEN]"
../secrets-searcher --config="config.yaml,config.rules.yaml"

The tool will create an ./output/report directory that includes an HTML report.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL