설명 없음

zricethezav 078b951a43 removing some options 8 년 전
vendor 87ee13fb3d deps 8 년 전
.travis.yml 4ea51fc98d go 1.9 and travis badge 8 년 전
CHANGELOG.md 1cecd5e090 updated readme, better logging 8 년 전
Dockerfile 59f1f02480 Update Dockerfile 8 년 전
Gopkg.lock 87ee13fb3d deps 8 년 전
Gopkg.toml 87ee13fb3d deps 8 년 전
LICENSE d70dded366 Create LICENSE 8 년 전
README.md 078b951a43 removing some options 8 년 전
checks.go 0ed0489c2d linting, more testing, cleaning 8 년 전
checks_test.go 25736d115f some barebones tests 8 년 전
main.go 2fadf219d9 more coverage 8 년 전
options.go 078b951a43 removing some options 8 년 전
options_test.go 2fadf219d9 more coverage 8 년 전
owner.go b6b3e768dc working on readme 8 년 전
owner_test.go b6b3e768dc working on readme 8 년 전
repo.go b6b3e768dc working on readme 8 년 전
repo_test.go 2fadf219d9 more coverage 8 년 전

README.md

Alt Text Build Status

Audit git repos for secrets and keys

Installing

go get -u github.com/zricethezav/gitleaks

Usage and Explanation

Alt Text

./gitleaks [options] <url/path>

Gitleaks audits local and remote repos by running regex checks against all commits.

Options

usage: gitleaks [options] <URL>/<path_to_repo>

Options:
 -u --user              Git user mode
 -r --repo              Git repo mode
 -o --org               Git organization mode
 -l --local             Local mode, gitleaks will look for local repo in <path>
 -t --temp              Clone to temporary directory
 -v --verbose           Verbose mode, will output leaks as gitleaks finds them
 --report_path=<STR>    Report output, default $GITLEAKS_HOME/report
 --clone_path=<STR>     Gitleaks will clone repos here, default $GITLEAKS_HOME/clones
 --concurrency=<INT>    Upper bound on concurrent diffs
 --since=<STR>          Commit to stop at
 --b64Entropy=<INT>     Base64 entropy cutoff (default is 70)
 --hexEntropy=<INT>     Hex entropy cutoff (default is 40)
 -e --entropy           Enable entropy
 -h --help              Display this message
 --token=<STR>          Github API token
 --stopwords            Enables stopwords

If you find a valid leak in a repo

Please read the Github article on removing sensitive data from a repository to remove the sensitive information from your history.

Run me with docker

Simply run docker run --rm --name=gitleaks zricethezav/gitleaks https://github.com/zricethezav/gitleaks

Or build the image yourself to get the latest version :

docker build -t gitleaks .
docker run --rm --name=gitleaks gitleaks https://github.com/zricethezav/gitleaks

cypherphunky

BTC: 1H2rSXDJZxWcTk2Ugr5P9r9m93m2NhL4xj

BCH: qp4mdaef04g5d0xpgecx78fmruk6vgl4pgqtetrl9h

ETH: 0xe48b4Fce6A1C1a9C780376032895b06b1709AddF

LTC: LRhDzMyGos5CtZMoSTEx5rdLksPUwSrtuz

s/o to @jlakowski for the gimp skillz