index.php
14 lines
| 1 | <?php |
| 2 | /** |
| 3 | * GOTMLS Brute-Force protections |
| 4 | * @package GOTMLS |
| 5 | */ |
| 6 | |
| 7 | if (!$_SESSION["GOTMLS_detected_attacks"]) |
| 8 | $_SESSION["GOTMLS_detected_attacks"] = '&attack[]=DIRECT_LOAD'; |
| 9 | foreach (array("REMOTE_ADDR", "HTTP_HOST", "REQUEST_URI", "HTTP_REFERER", "HTTP_USER_AGENT") as $var) |
| 10 | $_SESSION["GOTMLS_detected_attacks"] .= (isset($_SERVER[$var])?"&SERVER_$var=".urlencode($_SERVER[$var]):""); |
| 11 | foreach (array("log") as $var) |
| 12 | $_SESSION["GOTMLS_detected_attacks"] .= (isset($_POST[$var])?"&POST_$var=".urlencode($_POST[$var]):""); |
| 13 | header("location: http://safe-load.gotmls.net/report.php?ver=4.14.47".$_SESSION["GOTMLS_detected_attacks"]); |
| 14 | die(); |