⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.70
Server IP:
209.74.65.82
Server:
Linux 209-74-65-82.cprapid.com 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
PHP Version:
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
ivsoxidh
/
main.ivsoftdesign.com
/
Viewing : index.php
<?php session_start(); require __DIR__ . '/includes/config.php'; // Ако веќе е логиран, оди директно на dashboard if (!empty($_SESSION['ivsoft_portal_auth']) && $_SESSION['ivsoft_portal_auth'] === true) { header('Location: dashboard.php'); exit; } $error = null; if ($_SERVER['REQUEST_METHOD'] === 'POST') { $pass = $_POST['password'] ?? ''; if (hash_equals(IVSOFT_PORTAL_PASSWORD, $pass)) { $_SESSION['ivsoft_portal_auth'] = true; header('Location: dashboard.php'); exit; } else { $error = 'Неточна лозинка. Обиди се повторно.'; } } ?><!doctype html> <html lang="mk"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title><?= htmlspecialchars(PORTAL_NAME) ?> — Најава</title> <link rel="stylesheet" href="assets/styles.css"> </head> <body class="gradient-bg"> <div class="center-wrap"> <div class="auth-card"> <h1 class="portal-title"><?= htmlspecialchars(PORTAL_NAME) ?></h1> <p class="muted">Внеси лозинка за пристап</p> <?php if ($error): ?> <div class="alert"><?= htmlspecialchars($error) ?></div> <?php endif; ?> <form method="post" class="auth-form" autocomplete="off"> <label class="label" for="password">Лозинка</label> <input class="input" id="password" name="password" type="password" placeholder="••••••••" required> <button class="btn" type="submit">Продолжи</button> </form> </div> </div> </body> </html>