summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2016-07-16 18:45:38 +0200
committerjvoisin2016-07-16 18:45:38 +0200
commit36c4a697f91cb17518ae2cb11375fba13278e570 (patch)
treeba31c91c2bbb847b36aad2be78d6bb9c8ab7fe56
parenta57878b13cb5b202b14dc36c4bde0b1cb2deead0 (diff)
Remove an obsolete test
-rw-r--r--php-malware-finder/php.yar1
1 files changed, 0 insertions, 1 deletions
diff --git a/php-malware-finder/php.yar b/php-malware-finder/php.yar
index fce5ea3..ba1130e 100644
--- a/php-malware-finder/php.yar
+++ b/php-malware-finder/php.yar
@@ -54,7 +54,6 @@ rule ObfuscatedPhp
54 $too_many_chr = /(chr\([\d]+\)\.){8}/ // concatenation of more than eight `chr()` 54 $too_many_chr = /(chr\([\d]+\)\.){8}/ // concatenation of more than eight `chr()`
55 $concat = /(\$[^\n\r]+\.){5}/ // concatenation of more than 5 words 55 $concat = /(\$[^\n\r]+\.){5}/ // concatenation of more than 5 words
56 $var_as_func = /\$_(GET|POST|COOKIE|REQUEST)\s*\[[^\]]+\]\s*\(/ 56 $var_as_func = /\$_(GET|POST|COOKIE|REQUEST)\s*\[[^\]]+\]\s*\(/
57 $gif = /^GIF89/
58condition: 57condition:
59 any of them and not IsWhitelisted 58 any of them and not IsWhitelisted
60} 59}