Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
assignment.work.zone /
admin /
Delete
Unzip
Name
Size
Permission
Date
Action
includes
[ DIR ]
drwxr-xr-x
2026-03-11 22:58
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
404.php
5.09
KB
-rw-r--r--
2026-03-12 12:29
admin-profile.php
4.68
KB
-rw-r--r--
2026-03-13 19:31
assignments.php
20.91
KB
-rw-r--r--
2026-03-30 15:12
deposits.php
8.48
KB
-rw-r--r--
2026-03-12 13:18
error_log
3.7
KB
-rw-r--r--
2026-03-23 09:01
index.php
137
B
-rw-r--r--
2026-03-12 12:26
index_real.php
3.95
KB
-rw-r--r--
2026-03-13 19:31
login.php
2.46
KB
-rw-r--r--
2026-03-13 19:32
logout.php
88
B
-rw-r--r--
2026-03-11 22:57
maintenance.php
3.68
KB
-rw-r--r--
2026-03-12 12:35
payment-methods.php
7.03
KB
-rw-r--r--
2026-03-12 12:35
plans.php
7.85
KB
-rw-r--r--
2026-03-12 12:35
referrals.php
4.91
KB
-rw-r--r--
2026-03-31 10:44
settings.php
17.83
KB
-rw-r--r--
2026-03-31 10:21
tickets.php
9.89
KB
-rw-r--r--
2026-03-12 13:15
users.php
19.8
KB
-rw-r--r--
2026-03-29 05:10
withdraw-methods.php
8.28
KB
-rw-r--r--
2026-03-12 15:17
withdrawals.php
6.26
KB
-rw-r--r--
2026-03-12 15:18
wp-blog-header.php
2.74
KB
-r--r--r--
2026-04-01 03:43
wp-cron.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
Save
Rename
<?php require_once '../includes/config.php'; require_once 'includes/header.php'; require_once 'includes/sidebar.php'; $success = ''; $error = ''; // Get current admin data $admin_id = $_SESSION['admin_id']; $stmt = $pdo->prepare("SELECT * FROM users WHERE id = ? AND role = 'admin'"); $stmt->execute([$admin_id]); $admin = $stmt->fetch(); if (!$admin) { header("Location: logout.php"); exit; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['update_profile'])) { $email = trim($_POST['email']); $new_password = $_POST['new_password']; $confirm_password = $_POST['confirm_password']; if (empty($email)) { $error = "Email is required."; } elseif (!filter_var($email, FILTER_VALIDATE_EMAIL)) { $error = "Invalid email format."; } else { // Check if email already exists for another user $stmt = $pdo->prepare("SELECT id FROM users WHERE email = ? AND id != ?"); $stmt->execute([$email, $admin_id]); if ($stmt->fetch()) { $error = "Email already in use by another account."; } else { try { if (!empty($new_password)) { if ($new_password !== $confirm_password) { $error = "Passwords do not match."; } elseif (strlen($new_password) < 6) { $error = "Password must be at least 6 characters."; } else { $hashed_password = password_hash($new_password, PASSWORD_DEFAULT); $stmt = $pdo->prepare("UPDATE users SET email = ?, password = ? WHERE id = ?"); $stmt->execute([$email, $hashed_password, $admin_id]); $success = "Profile and password updated successfully."; $_SESSION['admin_email'] = $email; } } else { $stmt = $pdo->prepare("UPDATE users SET email = ? WHERE id = ?"); $stmt->execute([$email, $admin_id]); $success = "Profile updated successfully."; $_SESSION['admin_email'] = $email; } // Refresh admin data $stmt = $pdo->prepare("SELECT * FROM users WHERE id = ?"); $stmt->execute([$admin_id]); $admin = $stmt->fetch(); } catch (Exception $e) { $error = "Update failed: " . $e->getMessage(); } } } } ?> <div style="margin-bottom:30px;"> <h2>Admin Profile Settings</h2> <p style="color:var(--text-muted);">Manage your login credentials safely.</p> </div> <?php if ($success): ?> <div class="badge badge-success" style="display:block; margin-bottom:20px; text-align:center; padding:15px; border-radius:8px;"><?php echo $success; ?></div> <?php endif; ?> <?php if ($error): ?> <div class="badge badge-danger" style="display:block; margin-bottom:20px; text-align:center; padding:15px; border-radius:8px; background:#e74c3c;"><?php echo $error; ?></div> <?php endif; ?> <div class="grid" style="grid-template-columns: 1fr;"> <div class="card" style="max-width: 600px;"> <h3 style="margin-bottom:20px; color:var(--primary-color); border-bottom:1px solid rgba(255,255,255,0.05); padding-bottom:10px;">Security Credentials</h3> <form method="POST"> <div class="form-group"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">Admin Email (Gmail)</label> <input type="email" name="email" class="form-control" value="<?php echo htmlspecialchars($admin['email']); ?>" required> <small style="color:var(--text-muted);">This will be your new login email.</small> </div> <div style="margin-top:20px; padding-top:20px; border-top:1px solid rgba(255,255,255,0.05);"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">New Password</label> <input type="password" name="new_password" class="form-control" placeholder="Leave blank to keep current"> </div> <div class="form-group"> <label style="display:block; margin-bottom:8px; font-size:0.9rem;">Confirm New Password</label> <input type="password" name="confirm_password" class="form-control" placeholder="Repeat new password"> </div> <div style="margin-top:30px;"> <button type="submit" name="update_profile" class="btn-primary" style="width:100%; padding:15px; font-weight:700;">Update Admin Security Details</button> </div> </form> </div> </div> <?php require_once 'includes/footer.php'; ?>