X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=libs%2Flib_detector.php;h=8d75a2f291962c3497a0819bf92c03bbdf5798f4;hb=41ad0b3db32db06de610cfabdd3929b82cde5b78;hp=be64007b4907a2c87a229c3e0e2cf4856cf02f92;hpb=bff3977f27aedc41276238325868e1827d85011f;p=ctracker.git diff --git a/libs/lib_detector.php b/libs/lib_detector.php index be64007..8d75a2f 100644 --- a/libs/lib_detector.php +++ b/libs/lib_detector.php @@ -27,7 +27,7 @@ function initCrackerTrackerArrays () { // Set error_reporting if (isCrackerTrackerDebug()) { // For debugging purposes, this is fine - @error_reporting(E_ALL, E_STRICT); + @error_reporting(E_ALL | E_STRICT); } else { // No output @error_reporting(0); @@ -40,8 +40,8 @@ function initCrackerTrackerArrays () { 'cmd=lostpw' // LinPHA ); - // Attacks we should detect and blok - $GLOBALS['ctracker_wormprotector'] = array( + // Attacks we should detect and block + $GLOBALS['ctracker_get_blacklist'] = array( 'chr(', 'chr=', 'chr%20', '%20chr', 'wget%20', '%20wget', 'wget(', 'cmd=', '%20cmd', 'cmd%20', 'rush=', '%20rush', 'rush%20', 'union%20', '%20union', 'union(', 'union=', 'echr(', '%20echr', 'echr%20', 'echr=', @@ -54,7 +54,7 @@ function initCrackerTrackerArrays () { 'insert%20into', 'select%20', 'nigga(', '%20nigga', 'nigga%20', 'fopen', 'fwrite', '%20like', 'like%20', '$_request', '$_get', '$request', '$get', '.system', 'HTTP_PHP', '&aim', '%20getenv', 'getenv%20', 'new_password', '&icq','/etc/passwd','/etc/shadow', '/etc/groups', '/etc/gshadow', - 'HTTP_USER_AGENT', 'HTTP_HOST', 'wget%20', 'uname\x20-a', 'bin/id', '/bin/', '/chgrp', + 'HTTP_USER_AGENT', 'HTTP_HOST', 'wget%20', 'uname\x20-', 'uname%20-', 'bin/id', '/bin/', '/chgrp', '/chown', '/usr/bin', 'g\+\+', 'bin/python', 'bin/tclsh', 'bin/nasm', 'perl%20', 'traceroute%20', 'ping%20', '.pl', 'bin/xterm', 'lsof%20', '.conf', 'motd%20', 'HTTP/1.', '.inc.php', '.lib.php', 'config.php', 'file\://', 'window.open', '