diff options
| -rwxr-xr-x | php-malware-finder/phpmalwarefinder | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php-malware-finder/phpmalwarefinder b/php-malware-finder/phpmalwarefinder index 492a476..215c8ef 100755 --- a/php-malware-finder/phpmalwarefinder +++ b/php-malware-finder/phpmalwarefinder | |||
| @@ -9,6 +9,11 @@ NICE_BIN=$(type -P nice) | |||
| 9 | if [ ! -x "$YARA" ] | 9 | if [ ! -x "$YARA" ] |
| 10 | then | 10 | then |
| 11 | YARA='./yara' | 11 | YARA='./yara' |
| 12 | if [ ! -x "$YARA" ] | ||
| 13 | then | ||
| 14 | echo "Unable to find yara in your PATH, and in the current directory." | ||
| 15 | exit 0 | ||
| 16 | fi | ||
| 12 | fi | 17 | fi |
| 13 | 18 | ||
| 14 | if [ ! -f "$CONFIG_PATH" ] | 19 | if [ ! -f "$CONFIG_PATH" ] |
