Skip to content

Commit f0258d0

Browse files
committed
Bumping version
1 parent e022a53 commit f0258d0

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

Changelog

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
3.2 2021 Oct 29
2+
Fixed a compatibilty bug in misc/serializephp.sh
3+
Updated PHP rules
4+
Updated Java rules
5+
Updated fruit rules
6+
Updated secret rules
7+
Updated default
8+
Updated android rules (@r3zk0n)
9+
Updated dotnet rules
10+
Changed misc/gitlog.sh to an interactive format
11+
Added *.map to files that are ignored unless -A is used
12+
Fixed line endings in some rule files
13+
Altered some error handling slightly
14+
115
3.1 2021 Jun 21
216
Updated secret rules
317
Updated dotnet rules
@@ -6,7 +20,6 @@
620
Added ~/graudit/signatures to database locations
721
Updated documentation (@Montycarlo)
822

9-
1023
3.0 2021 Apr 29
1124
Fixed broken Java rule causing massive false positives
1225
Additional PHP fruit rules

graudit

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Released under the GPL licence
55
set -e
66
set -o pipefail
7-
VERSION='3.1'
7+
VERSION='3.2'
88
basedir=$(dirname "$0")
99
BINFILE=$(which grep)
1010

@@ -16,7 +16,7 @@ vimlines="#"
1616
color='always'
1717
sigdb='default'
1818
separator='##############################################'
19-
excludefiles='--exclude=*.bz2 --exclude=*.gz --exclude=*.zip --exclude=*.rar --exclude=*.gif --exclude=*.jpg --exclude=*.png'
19+
excludefiles='--exclude=*.bz2 --exclude=*.gz --exclude=*.zip --exclude=*.rar --exclude=*.gif --exclude=*.jpg --exclude=*.png --exclude=*.map'
2020

2121
#Save custom colors
2222
OLD_COLORS=$GREP_COLORS
@@ -43,7 +43,7 @@ banner() {
4343
\___ /|__| (____ /____/\____ | |__||__|
4444
/_____/ \/ \/
4545
grep rough audit - static analysis tool
46-
v3.1 written by @Wireghoul
46+
v3.2 written by @Wireghoul
4747
=================================[justanotherhacker.com]==='
4848
fi
4949
}
@@ -154,8 +154,7 @@ while getopts "AbBhvilLzZd:c:x:" opt; do
154154
A)
155155
excludefiles=""
156156
;;
157-
\?)
158-
#echo "Invalid option: -$OPTARG" >&2
157+
\?) # unknown option
159158
usage
160159
exit 2
161160
;;
@@ -190,8 +189,9 @@ if [ -z "$1" ]; then
190189
fi
191190

192191
if [ ! -e $database ]; then
193-
echo "database path not found: $database, try running graudit with -l" >&2
194-
usage
192+
banner
193+
echo
194+
echo "database path not found for db: \"$database\", try running graudit -h" >&2
195195
exit 2
196196
fi
197197

0 commit comments

Comments
 (0)