PluginProbe ʕ •ᴥ•ʔ
Anti-Malware Security and Brute-Force Firewall / trunk
Anti-Malware Security and Brute-Force Firewall vtrunk
4.23.90 trunk 1.2.03.23 1.3.02.15 3.07.06 4.14.47 4.15.16 4.16.17 4.17.28 4.17.29 4.17.44 4.17.57 4.17.58 4.17.68 4.17.69 4.18.52 4.18.62 4.18.63 4.18.69 4.18.71 4.18.74 4.18.76 4.19.44 4.19.50 4.19.68 4.19.69 4.20.59 4.20.72 4.20.92 4.20.93 4.20.94 4.20.95 4.20.96 4.21.74 4.21.83 4.21.84 4.21.85 4.21.86 4.21.87 4.21.88 4.21.89 4.21.90 4.21.91 4.21.92 4.21.93 4.21.94 4.21.95 4.21.96 4.23.56 4.23.57 4.23.67 4.23.68 4.23.69 4.23.71 4.23.73 4.23.77 4.23.81 4.23.83 4.23.85 4.23.87 4.23.88 4.23.89
gotmls / safe-load / index.php
gotmls / safe-load Last commit date
.htaccess 11 years ago index.php 1 year ago session.php 1 year ago trace.php 2 days ago wp-login.php 1 year ago wp-settings.php 2 years ago
index.php
26 lines
1 <?php
2 /**
3 * GOTMLS Brute-Force protections
4 * @package GOTMLS
5 * @since 4.23.75
6 */
7
8 if (!(isset($GLOBALS["GOTMLS"]["detected_attacks"]) && $GLOBALS["GOTMLS"]["detected_attacks"])) {
9 $file = (isset($_SERVER["SCRIPT_FILENAME"]) ? $_SERVER["SCRIPT_FILENAME"] : __FILE__)."";
10 $GLOBALS["GOTMLS"]["detected_attacks"] = '&attack[]='.strtolower((isset($_SERVER["DOCUMENT_ROOT"]) && strlen($_SERVER["DOCUMENT_ROOT"]."") < strlen($file)) ? substr($file, strlen($_SERVER["DOCUMENT_ROOT"]."")) : basename($file));
11 }
12
13 foreach (array("REMOTE_ADDR", "HTTP_HOST", "REQUEST_URI", "HTTP_REFERER", "HTTP_USER_AGENT") as $var)
14 $GLOBALS["GOTMLS"]["detected_attacks"] .= (isset($_SERVER[$var]) ? "&SERVER_$var=".urlencode($_SERVER[$var]) : "");
15
16 foreach (array("log", "session_id") as $var)
17 $GLOBALS["GOTMLS"]["detected_attacks"] .= (isset($_POST[$var]) ? "&POST_$var=".urlencode($_POST[$var]).(isset($_POST["sess".$_POST[$var]]) ? "&TIME=".time()."&POST_sess$var=".urlencode($_POST["sess".$_POST[$var]]) : "") : "");
18
19 if (is_file($file = str_replace(basename(dirname(__FILE__)), basename(__FILE__), dirname(__FILE__))) && ($contents = @file_get_contents($file)) && preg_match('/\nversion:\s*([0-9\.]+)/i', $contents, $match))
20 $ver = $match[1];
21 else
22 $ver = "Unknown";
23 $ver = "https://safe-load.gotmls.net/report.php?ver=$ver";
24 header("location: $ver".$GLOBALS["GOTMLS"]["detected_attacks"]);
25 die();
26