Skip to content

Commit

Permalink
Merge pull request #63 from EMSeek/master
Browse files Browse the repository at this point in the history
updates for 3.4 release
  • Loading branch information
wireghoul authored Feb 28, 2022
2 parents 93a27cb + c34659e commit 402e162
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
Added support for setting default arguments via env vars
Added test cases for environment variables
Fixed a bug in database listing function
Updated misc/phptaint.sh

3.3 2022 Jan 20
Fixed false positive rate in compressed js files
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ You can set default commandline options via the GRARGS environment variable.
This may affect the use of graudit in scripts so it's only recommended to use
the B,L,b,z and Z options for this purpose.
```
echo 'GRARGS="-b -L"; export GRARGS' >> ~/.basrc
echo 'GRARGS="-b -L"; export GRARGS' >> ~/.bashrc
```


Expand Down
2 changes: 1 addition & 1 deletion misc/phptaint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ if [ -z "$1" ]; then
exit 2
fi
graudit -z -d php "$1" | \
perl -ne 'if ($_ =~ m/\$(\S+?)\s*=\s*\$_(GET|POST|REQUEST|COOKIE)\[.*?\]/) { print "\\\$$1\n"; }' | \
perl -ne 'if ($_ =~ m/\$(\S+?)\s*=\s*\$_(GET|POST|REQUEST|COOKIE|FILES)\[.*?\]/) { print "\\\$$1\n"; }' | \
sort | uniq | \
graudit -d /dev/stdin "$1"

0 comments on commit 402e162

Please sign in to comment.