securing / DumpsterDiver

Tool to search secrets in various filetypes.
MIT License
976 stars 152 forks source link

Unrecognized Argument --grep-words #45

Open ptrk01 opened 3 years ago

ptrk01 commented 3 years ago

I wanted to use --grep-words argument as stated in the example in readme but I get the following error message:

DumpsterDiver.py: error: unrecognized arguments: --grep-words *access_key*

I invoked the script with the following command: python3 DumpsterDiver.py -p /home/folder_to_search/ --entropy 6 --grep-words *access_key*

I use the latest DumpsterDiver version. Any idea what's wrong?

vicenteherrera commented 2 years ago

In the code there is no reference to "grep-words" when parsing arguments. You could specify them in the rules.yaml file, you also have to add -a or --advance to the command line call.