From 5ed29fb033fcbe89f1970dabe7eca002bf52fbde Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 16 May 2010 02:20:40 +0000 Subject: [PATCH] Log of first attempt fixed --- libs/lib_detector.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/libs/lib_detector.php b/libs/lib_detector.php index ddddec9..ecd95ba 100644 --- a/libs/lib_detector.php +++ b/libs/lib_detector.php @@ -241,16 +241,17 @@ function crackerTrackerLogAttack () { // Prepare array for database insert $rowData = array( - 'remote_addr' => determineCrackerTrackerRealRemoteAddress(), - 'user_agent' => crackerTrackerUserAgent(), - 'get_data' => crackerTrackerQueryString(), - 'post_data' => $GLOBALS['ctracker_post_track'], - 'check_worm' => $GLOBALS['ctracker_checkworm'], - 'check_post' => $GLOBALS['ctracker_check_post'], - 'server_name' => crackerTrackerServerName(), - 'script_name' => crackerTrackerScriptName(), - 'referer' => crackerTrackerReferer(), - 'proxy_used' => $proxyUsed + 'remote_addr' => determineCrackerTrackerRealRemoteAddress(), + 'user_agent' => crackerTrackerUserAgent(), + 'get_data' => crackerTrackerQueryString(), + 'post_data' => $GLOBALS['ctracker_post_track'], + 'check_worm' => $GLOBALS['ctracker_checkworm'], + 'check_post' => $GLOBALS['ctracker_check_post'], + 'server_name' => crackerTrackerServerName(), + 'script_name' => crackerTrackerScriptName(), + 'referer' => crackerTrackerReferer(), + 'proxy_used' => $proxyUsed, + 'first_attempt' => 'NOW()' ); // Insert the array in database -- 2.39.5