finos / CatchIT

Source code secret scanner
Apache License 2.0
54 stars 24 forks source link

using -E option in grep_tunnel.sh will yield better results #8

Open juggernauthk108 opened 2 years ago

juggernauthk108 commented 2 years ago

!/bin/bash

grep -EnroI $4--exclude-dir=.git --exclude-dir=.svn --exclude-dir=node_modules --exclude-dir=venv --exclude='regexs.json' "$1" $2 | grep -ivE -f $3

Using egrep or grep -E yields better secret scanning

Elvis0110 commented 1 year ago

Hello @juggernauthk108, can I raise a PR to resolve this issue, its a pretty simple fix and seems no one has done it yet. Thanks