shhgit icon indicating copy to clipboard operation
shhgit copied to clipboard

add blacklisted_regex to shhgit

Open marcelo321 opened this issue 3 years ago • 1 comments

As far as I know shhgit supports:

blacklisted_strings, blacklisted_extensions, blacklisted_paths and blacklisted_entropy_extensions.

Would it be possible to add blacklisted_regex so we can properly discard things we don't want? I can do it with grep on the output, but there are side cases, like when there is more than 1 match inside the same file, that one might match the regex (being a false positive) and will also discard the valid finding.

marcelo321 avatar Oct 22 '20 16:10 marcelo321

Hey @marcelo321. That's a great idea. I don't have to time to work on this myself but feel free to submit a PR and I will gladly merge in.

eth0izzle avatar Feb 25 '21 12:02 eth0izzle