File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 44# Released under the GPL licence
55set -e
66set -o pipefail
7- VERSION=' 3.0 '
7+ VERSION=' 3.1 '
88basedir=$( dirname " $0 " )
99BINFILE=$( which grep)
1010
@@ -43,7 +43,7 @@ banner() {
4343 \___ /|__| (____ /____/\____ | |__||__|
4444 /_____/ \/ \/
4545 grep rough audit - static analysis tool
46- v3.0 written by @Wireghoul
46+ v3.1 written by @Wireghoul
4747=================================[justanotherhacker.com]==='
4848 fi
4949}
@@ -96,6 +96,9 @@ listdb () {
9696 if [ -d " $basedir " /misc/ ]; then
9797 ls -1 " $basedir " /misc/* .db 2> /dev/null
9898 fi
99+ if [ -d ~ /graudit/signatures/ ]; then
100+ ls -1 ~ /graudit/signatures/* .db 2> /dev/null
101+ fi
99102}
100103
101104while getopts " AbBhvilLzZd:c:x:" opt; do
@@ -174,6 +177,8 @@ elif [ -f "$basedir/signatures/$sigdb.db" ]; then
174177 database=" $basedir /signatures/$sigdb .db"
175178elif [ -f " $basedir /misc/$sigdb .db" ]; then
176179 database=" $basedir /misc/$sigdb .db"
180+ elif [ -f " $HOME /graudit/signatures/$sigdb .db" ]; then
181+ database=" $HOME /graudit/signatures/$sigdb .db"
177182else
178183 database=" $sigdb "
179184fi
You can’t perform that action at this time.
0 commit comments