summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xphp-malware-finder/phpmalwarefinder5
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)
9if [ ! -x "$YARA" ] 9if [ ! -x "$YARA" ]
10then 10then
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
12fi 17fi
13 18
14if [ ! -f "$CONFIG_PATH" ] 19if [ ! -f "$CONFIG_PATH" ]