the damned README

This commit is contained in:
zricethezav committed 2018-02-23 18:06:19 -06:00
1 parent 801254f97e
commit c11171f47d
1 file changed
+3 -2
+3 -2
View File
@@ -38,17 +38,18 @@ Gitleaks scans all lines of all commits and checks if there are any regular expr
#### Help #### Help
``` ```
usage: gitleaks [options] <git url> usage: gitleaks [options] <url>
Options: Options:
-c Concurrency factor (default is 10) -c Concurrency factor (default is 10)
-u --user Git user url -u --user Git user url
-r --repo Git repo url -r --repo Git repo url
-o --org Git organization url -o --org Git organization url
-s --strict Strict mode uses stopwords in config.yml -s --since Scan until this commit (SHA)
-b --b64Entropy Base64 entropy cutoff (default is 70) -b --b64Entropy Base64 entropy cutoff (default is 70)
-x --hexEntropy Hex entropy cutoff (default is 40) -x --hexEntropy Hex entropy cutoff (default is 40)
-e --entropy Enable entropy -e --entropy Enable entropy
--strict Enables stopwords
-h --help Display this message -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). 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).