From: Roland Häder Date: Tue, 11 Aug 2020 23:09:33 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b34fc5a481f52b57b0293c825392dcabe7d2321;p=ctracker.git Continued: - maybe lame but those statements shall never happen in a user-agent string Signed-off-by: Roland Häder --- diff --git a/libs/lib_detector.php b/libs/lib_detector.php index 1dc02b1..7dc5c47 100644 --- a/libs/lib_detector.php +++ b/libs/lib_detector.php @@ -168,6 +168,9 @@ function initCrackerTrackerArrays () { // BLock these words found in User-Agent $GLOBALS['ctracker_ua_blacklist'] = [ + // SQL commands + 'drop database', 'drop table', + // Compiler/interpreter 'bin/g++ ', 'bin/c++ ', 'cc ', 'bin/python', 'bin/python', 'bin/tclsh', 'bin/tclsh', 'bin/nasm', '/perl', 'wget ', 'system(', 'curl ',