X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=libs%2Flib_detector.php;h=1a18062bea46613155be2f5cc3af51a58710baa7;hb=9fdb6da05a4d7f18cb73cda0a1359dc66f5c4549;hp=7d7836eaa5af1c5196d6edd48c21e0674dc018a3;hpb=7fa424e2fb3bb33a79ba1d793f1785809f99c508;p=ctracker.git diff --git a/libs/lib_detector.php b/libs/lib_detector.php index 7d7836e..1a18062 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', '