$ DumpsterDiver -h


       ___                          __             ___   _                
      / _ \ __ __ __ _   ___   ___ / /_ ___  ____ / _ \ (_)_  __ ___  ____
     / // // // //  ' \ / _ \ (_-</ __// -_)/ __// // // /| |/ // -_)/ __/
    /____/ \_,_//_/_/_// .__//___/\__/ \__//_/  /____//_/ |___/ \__//_/   
                      /_/                                                 
            
                                                       #Coded by @Rzepsky


usage: DumpsterDiver.py [-h] -p LOCAL_PATH [-r] [-a] [-s] [-o OUTFILE] [--min-key MIN_KEY] [--max-key MAX_KEY]
                        [--entropy ENTROPY] [--min-pass MIN_PASS] [--max-pass MAX_PASS]
                        [--pass-complex {1,2,3,4,5,6,7,8,9}] [--exclude-files EXCLUDE_FILES [EXCLUDE_FILES ...]]
                        [--bad-expressions BAD_EXPRESSIONS [BAD_EXPRESSIONS ...]]

options:
  -h, --help            show this help message and exit

BASIC USAGE:
  -p LOCAL_PATH         path to the folder containing files to be analyzed
  -r, --remove          when this flag is set, then files which don't contain any secret will be removed.
  -a, --advance         when this flag is set, then all files will be additionally analyzed using rules specified in
                        '~/.dumpsterdiver/rules.yaml' file.
  -s, --secret          when this flag is set, then all files will be additionally analyzed in search of hardcoded
                        passwords.
  -o OUTFILE            output file in JSON format.

CONFIGURATION:
  --min-key MIN_KEY     specifies the minimum key length to be analyzed (default is 20).
  --max-key MAX_KEY     specifies the maximum key length to be analyzed (default is 80).
  --entropy ENTROPY     specifies the edge of high entropy (default is 4.3).
  --min-pass MIN_PASS   specifies the minimum password length to be analyzed (default is 8). Requires adding '-s' flag
                        to the syntax.
  --max-pass MAX_PASS   specifies the maximum password length to be analyzed (default is 12). Requires adding '-s'
                        flag to the syntax.
  --pass-complex {1,2,3,4,5,6,7,8,9}
                        specifies the edge of password complexity between 1 (trivial passwords) to 9 (very complex
                        passwords) (default is 8). Requires adding '-s' flag to the syntax.
  --exclude-files EXCLUDE_FILES [EXCLUDE_FILES ...]
                        specifies file names or extensions which shouldn't be analyzed. File extension should contain
                        '.' character (e.g. '.pdf'). Multiple file names and extensions should be separated by space.
  --bad-expressions BAD_EXPRESSIONS [BAD_EXPRESSIONS ...]
                        specifies bad expressions - if the DumpsterDiver find such expression in a file, then this
                        file won't be analyzed. Multiple bad expressions should be separated by space.
