Skip to content

Commit

Permalink
Bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
wireghoul committed Oct 29, 2021
1 parent e022a53 commit f0258d0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
15 changes: 14 additions & 1 deletion Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
3.2 2021 Oct 29
Fixed a compatibilty bug in misc/serializephp.sh
Updated PHP rules
Updated Java rules
Updated fruit rules
Updated secret rules
Updated default
Updated android rules (@r3zk0n)
Updated dotnet rules
Changed misc/gitlog.sh to an interactive format
Added *.map to files that are ignored unless -A is used
Fixed line endings in some rule files
Altered some error handling slightly

3.1 2021 Jun 21
Updated secret rules
Updated dotnet rules
Expand All @@ -6,7 +20,6 @@
Added ~/graudit/signatures to database locations
Updated documentation (@Montycarlo)


3.0 2021 Apr 29
Fixed broken Java rule causing massive false positives
Additional PHP fruit rules
Expand Down
14 changes: 7 additions & 7 deletions graudit
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Released under the GPL licence
set -e
set -o pipefail
VERSION='3.1'
VERSION='3.2'
basedir=$(dirname "$0")
BINFILE=$(which grep)

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

#Save custom colors
OLD_COLORS=$GREP_COLORS
Expand All @@ -43,7 +43,7 @@ banner() {
\___ /|__| (____ /____/\____ | |__||__|
/_____/ \/ \/
grep rough audit - static analysis tool
v3.1 written by @Wireghoul
v3.2 written by @Wireghoul
=================================[justanotherhacker.com]==='
fi
}
Expand Down Expand Up @@ -154,8 +154,7 @@ while getopts "AbBhvilLzZd:c:x:" opt; do
A)
excludefiles=""
;;
\?)
#echo "Invalid option: -$OPTARG" >&2
\?) # unknown option
usage
exit 2
;;
Expand Down Expand Up @@ -190,8 +189,9 @@ if [ -z "$1" ]; then
fi

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

Expand Down

0 comments on commit f0258d0

Please sign in to comment.