From c11171f47d82a443b190413ecb026dcca4809ffd Mon Sep 17 00:00:00 2001 From: zricethezav Date: Fri, 23 Feb 2018 18:06:19 -0600 Subject: [PATCH] the damned README --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 11606f96..e0428ea9 100644 --- a/README.md +++ b/README.md @@ -38,18 +38,19 @@ Gitleaks scans all lines of all commits and checks if there are any regular expr #### Help ``` -usage: gitleaks [options] +usage: gitleaks [options] Options: - -c Concurrency factor (default is 10) - -u --user Git user url - -r --repo Git repo url - -o --org Git organization url - -s --strict Strict mode uses stopwords in config.yml - -b --b64Entropy Base64 entropy cutoff (default is 70) - -x --hexEntropy Hex entropy cutoff (default is 40) - -e --entropy Enable entropy - -h --help Display this message + -c Concurrency factor (default is 10) + -u --user Git user url + -r --repo Git repo url + -o --org Git organization url + -s --since Scan until this commit (SHA) + -b --b64Entropy Base64 entropy cutoff (default is 70) + -x --hexEntropy Hex entropy cutoff (default is 40) + -e --entropy Enable entropy + --strict Enables stopwords + -h --help Display this message ``` NOTE: your mileage may vary so if you aren't getting the results you expected try updating the regexes to fit your needs or try tweaking the entropy cutoffs and stopwords. Entropy cutoff for base64 alphabets seemed to give good results around 70 and hex alphabets seemed to give good results around 40. Entropy is calculated using [Shannon entropy](http://www.bearcave.com/misl/misl_tech/wavelets/compression/shannon.html).