From: Roland Haeder Date: Sun, 16 May 2010 02:20:40 +0000 (+0000) Subject: Log of first attempt fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5ed29fb033fcbe89f1970dabe7eca002bf52fbde;p=ctracker.git Log of first attempt fixed --- 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