PATH:
home
/
njujpgyl
/
public_html
<?php // login.php require_once 'config.php'; require_once 'auth.php'; $error = ''; if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['login'])) { if (verifyCSRFToken($_POST['csrf_token'] ?? '')) { $username = $_POST['username'] ?? ''; $password = $_POST['password'] ?? ''; if (Authentication::login($username, $password)) { header('Location: admin.php'); exit; } else { $error = "Invalid credentials!"; } } else { $error = "Security token invalid!"; } } if (Authentication::isLoggedIn()) { header('Location: admin.php'); exit; } ?> <!DOCTYPE html> <html> <head> <title>Admin Login</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <div class="container mt-5"> <div class="row justify-content-center"> <div class="col-md-4"> <div class="card"> <div class="card-header"> <h4>Admin Login</h4> </div> <div class="card-body"> <?php if ($error): ?> <div class="alert alert-danger"><?php echo htmlspecialchars($error); ?></div> <?php endif; ?> <form method="POST"> <input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token']; ?>"> <div class="mb-3"> <label class="form-label">Username</label> <input type="text" name="username" class="form-control" required> </div> <div class="mb-3"> <label class="form-label">Password</label> <input type="password" name="password" class="form-control" required> </div> <button type="submit" name="login" value="1" class="btn btn-primary w-100">Login</button> </form> </div> </div> </div> </div> </div> </body> </html>
[+]
..
[+]
cgi-bin
[-] delhigal.zip
[edit]
[+]
content1
[+]
image
[-] .ftpquota
[edit]
[-] 404.php
[edit]
[-] android-chrome-192x192.png
[edit]
[-] android-chrome-512x512.png
[edit]
[-] apple-touch-icon.png
[edit]
[-] arealist.xml
[edit]
[-] auth.php
[edit]
[-] cache.php
[edit]
[-] config.php
[edit]
[-] content_manager.php
[edit]
[-] error_log
[edit]
[-] favicon.ico
[edit]
[-] favicon-16x16.png
[edit]
[-] favicon-32x32.png
[edit]
[-] frontpage.php
[edit]
[-] functions.php
[edit]
[-] google2fabcdaeda4836e4.html
[edit]
[-] index.php
[edit]
[-] index1.html
[edit]
[-] index1.php
[edit]
[-] login.php
[edit]
[-] logout.php
[edit]
[-] robots.txt
[edit]
[-] style.css
[edit]
[-] template.php
[edit]
[-] template-footer.php
[edit]
[-] template-header.php
[edit]
[-] test.php
[edit]
[-] xml_manager.php
[edit]
[+]
.well-known
[+]
cache
[+]
content
[-] error_logs.php
[edit]
[-] _
[edit]