]> git.mxchange.org Git - ctracker.git/commitdiff
Mails updated
authorRoland Haeder <roland@mxchange.org>
Thu, 31 Dec 2009 17:45:55 +0000 (17:45 +0000)
committerRoland Haeder <roland@mxchange.org>
Thu, 31 Dec 2009 17:45:55 +0000 (17:45 +0000)
libs/lib_detector.php

index add058fe6f8519bc84601e1302716d35c2c17145..4ea881f267e5e29151f26874f476eebf75cb542d 100644 (file)
@@ -107,13 +107,13 @@ function sendCrackerTrackerMail () {
        // Mail content
        $mail = "Attack detected:
 -----------------------------------------------------
-Remote-IP: ".$_SERVER['REMOTE_ADDR']."
-User-Agent: ".$_SERVER['HTTP_USER_AGENT']."
-Request-string: ".$_SERVER['QUERY_STRING']."
-Filtered string: ".$GLOBALS['checkworm']."
-Server: ".$_SERVER['SERVER_NAME']."
-Script: ".$_SERVER['SCRIPT_NAME']."
-Referrer: ".$_SERVER['HTTP_REFERRER']."
+Remote-IP       : ".$_SERVER['REMOTE_ADDR']."
+User-Agent      : ".$_SERVER['HTTP_USER_AGENT']."
+Request-string  : ".$_SERVER['QUERY_STRING']."
+Filtered string : ".$GLOBALS['checkworm']."
+Server          : ".$_SERVER['SERVER_NAME']."
+Script          : ".$_SERVER['SCRIPT_NAME']."
+Referrer        : ".$_SERVER['HTTP_REFERRER']."
 -----------------------------------------------------
 ";
 
@@ -160,13 +160,16 @@ function sendCrackerTrackerPostMail () {
        // Mail text
        $mail = "POST-Attack detected:
 -----------------------------------------------------
-Remote-IP: ".$_SERVER['REMOTE_ADDR']."
-User-Agent: ".$_SERVER['HTTP_USER_AGENT']."
-POST string: ".$GLOBALS['post_track']."
-Filtered worm string: ".$GLOBALS['checkworm']."
-Filtered POST string: ".$GLOBALS['check_post']."
-Server: ".$_SERVER['SERVER_NAME']."
-Script: ".$_SERVER['SCRIPT_NAME']."
+Remote-IP            : ".$_SERVER['REMOTE_ADDR']."
+User-Agent           : ".$_SERVER['HTTP_USER_AGENT']."
+Request-string       : ".$_SERVER['QUERY_STRING']."
+Filtered string      : ".$GLOBALS['checkworm']."
+Server               : ".$_SERVER['SERVER_NAME']."
+Script               : ".$_SERVER['SCRIPT_NAME']."
+Referrer             : ".$_SERVER['HTTP_REFERRER']."
+-----------------------------------------------------
+POST string          : ".$GLOBALS['post_track']."
+Filtered POST string : ".$GLOBALS['check_post']."
 -----------------------------------------------------
 ";