From 6f87545c3a796c786c916cd311acfc13a4044e58 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 31 Dec 2009 17:30:03 +0000 Subject: [PATCH] Unmodified GET data (query string) added --- install/install.sql | 5 +++-- libs/lib_detector.php | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/install/install.sql b/install/install.sql index aef3d90..d3f4fb6 100644 --- a/install/install.sql +++ b/install/install.sql @@ -3,9 +3,10 @@ CREATE TABLE IF NOT EXISTS `ctracker_data` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Running id number', `remote_addr` varchar(15) NOT NULL COMMENT 'Remote address', `user_agent` tinytext NOT NULL COMMENT 'User agent string', + `get_data` tinytext NOT NULL COMMENT 'Serialized GET data', `post_data` tinytext NOT NULL COMMENT 'Serialized POST data', - `check_worm` tinytext NOT NULL COMMENT 'Serialized GET data', - `check_post` tinytext NOT NULL COMMENT 'Serialized GET data', + `check_worm` tinytext NOT NULL COMMENT 'Manipulated GET data', + `check_post` tinytext NOT NULL COMMENT 'Manipulated GET data', `server_name` tinytext NOT NULL COMMENT 'Server''s host name', `script_name` varchar(255) NOT NULL COMMENT 'Full script name', `referer` varchar(255) NOT NULL COMMENT 'Referer', diff --git a/libs/lib_detector.php b/libs/lib_detector.php index 60c9f85..b03bdc5 100644 --- a/libs/lib_detector.php +++ b/libs/lib_detector.php @@ -201,6 +201,7 @@ function crackerTrackerLogAttack () { $rowData = array( 'remote_addr' => $_SERVER['REMOTE_ADDR'], 'user_agent' => $_SERVER['HTTP_USER_AGENT'], + 'get_data' => $_SERVER['QUERY_STRING'], 'post_data' => $GLOBALS['post_track'], 'check_worm' => $GLOBALS['checkworm'], 'check_post' => $GLOBALS['check_post'], -- 2.39.5