From: Roland Häder Date: Mon, 1 Apr 2019 16:19:28 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a64140a870131446d55efb1bfea5f631ac687ba3;p=ctracker.git Continued: - moved Windows-related strings to own "category" - added system.net.webclient and powershell, both not wanted in URLs - ... and POST data as well Signed-off-by: Roland Häder --- diff --git a/libs/lib_detector.php b/libs/lib_detector.php index 49d171e..265e241 100644 --- a/libs/lib_detector.php +++ b/libs/lib_detector.php @@ -91,8 +91,10 @@ function initCrackerTrackerArrays () { // Compiler/interpreter 'bin/g++ ', 'bin/c++ ', 'cc ', 'bin/python', 'bin/python', 'bin/tclsh', - 'bin/tclsh', 'bin/nasm', '/perl', 'cmd.exe', - 'nc.exe', 'ftp.exe', + 'bin/tclsh', 'bin/nasm', '/perl', + + // Windows-related + 'cmd.exe', 'nc.exe', 'ftp.exe', 'powershell', 'system.net.webclient', // php.ini settings 'allow_url_fopen', 'allow_url_include', 'auto_prepend_file', 'disable_functions', 'safe_mode', @@ -162,8 +164,10 @@ function initCrackerTrackerArrays () { $GLOBALS['ctracker_ua_blacklist'] = [ // Compiler/interpreter 'bin/g++ ', 'bin/c++ ', 'cc ', 'bin/python', 'bin/python', 'bin/tclsh', - 'bin/tclsh', 'bin/nasm', '/perl', 'cmd.exe', - 'nc.exe', 'ftp.exe', 'wget ', 'system(', 'curl ', + 'bin/tclsh', 'bin/nasm', '/perl', 'wget ', 'system(', 'curl ', + + // Windows-related + 'cmd.exe', 'nc.exe', 'ftp.exe', 'powershell', 'system.net.webclient', // php.ini settings 'allow_url_fopen', 'allow_url_include', 'auto_prepend_file', 'disable_functions', 'safe_mode',