diff options
| author | Julien "shaddai" Reveret | 2016-12-08 14:00:45 +0100 |
|---|---|---|
| committer | Julien "shaddai" Reveret | 2016-12-08 14:05:01 +0100 |
| commit | f95191cb2f1c41784ea940206a5cd6fc5cd3f6a9 (patch) | |
| tree | 166dccbfab244f55ebc60fafd6a82e862fbdc65a | |
| parent | 7824a230562014dfaad466851d036665d21b068f (diff) | |
fix for the newly introduced function, did somebody say QA ?
| -rwxr-xr-x | php-malware-finder/phpmalwarefinder | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-malware-finder/phpmalwarefinder b/php-malware-finder/phpmalwarefinder index 716f6e8..af1834e 100755 --- a/php-malware-finder/phpmalwarefinder +++ b/php-malware-finder/phpmalwarefinder | |||
| @@ -110,7 +110,7 @@ needle_in_haystack() { | |||
| 110 | 110 | ||
| 111 | needle=$(mktemp) | 111 | needle=$(mktemp) |
| 112 | egrep '(PasswordProtection|Websites|TooShort|NonPrintableChars)' $1 > $needle | 112 | egrep '(PasswordProtection|Websites|TooShort|NonPrintableChars)' $1 > $needle |
| 113 | if [ ! "$(wc -l $needle)" = "0" ]; then | 113 | if [ ! "$(wc -l $needle | awk '{print $1}')" = "0" ]; then |
| 114 | echo "=================================================" | 114 | echo "=================================================" |
| 115 | echo "You should take a look at the files listed below:" | 115 | echo "You should take a look at the files listed below:" |
| 116 | cat $needle | 116 | cat $needle |
