From 91174b5a60b739896da8ab2cfd2b8271cf63cb54 Mon Sep 17 00:00:00 2001 From: Gabor Gyorvari Date: Tue, 27 Dec 2016 15:48:48 +0100 Subject: [PATCH] Remove too regular patterns --- scan.php | 43 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/scan.php b/scan.php index 478677e..c229560 100644 --- a/scan.php +++ b/scan.php @@ -161,6 +161,7 @@ class MalwareScanner '\x65\x76\x61\x6C' /* case, dec/hex issue? */, 'ZXZhbCg', // eval "'ev'.'al'.'", + '/eval\s*\(/i', 'eval(base64_decode(', '\x47\x4c\x4f\x42\x41LS', // GLOBALS @@ -175,31 +176,27 @@ class MalwareScanner /* too open? */ // 'gzinflate(base64_decode(', 'md5($_GET[', // md5($_GET["ms-load"]) - 'sendMail', - 'echo "ok-ok"', - '/ShellBOT/i', - '/YW55cmVzdWx0cy5uZXQ=/i', - '/eval\s*\(/i', - '/base64_decode\s*\(/i', - '/str_rot13/i', - '/uudecode/i', - '/preg_replace', - 'bgeteam', - 'DisablePHP=', - '=urldecode', - 'moban.html', - 'ExtraCheck) {