Linux moon.hostseba.com 4.18.0-553.51.1.lve.el8.x86_64 #1 SMP Tue May 6 15:14:12 UTC 2025 x86_64
LiteSpeed
Server IP : 103.174.152.68 & Your IP : 216.73.216.6
Domains :
Cant Read [ /etc/named.conf ]
User : julaysp1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
julaysp1 /
public_html /
admin /
pages /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2025-09-01 07:26
active_deactive.php
1.5
KB
-rw-r--r--
2024-10-25 15:16
balance_add.php
2.14
KB
-rw-r--r--
2024-10-26 06:06
change_bonus.php
1.34
KB
-rw-r--r--
2024-10-25 15:30
change_password.php
1.83
KB
-rw-r--r--
2024-10-26 17:30
change_password_admin.php
1.12
KB
-rw-r--r--
2024-10-26 17:41
createLink.txt
25
B
-rw-r--r--
2024-10-26 17:09
delete_user.php
1.86
KB
-rw-r--r--
2024-10-25 15:16
error_log
34
MB
-rw-r--r--
2025-08-29 06:53
fetch_balance.php
650
B
-rw-r--r--
2024-10-25 15:16
generate_token.php
1.12
KB
-rw-r--r--
2024-11-06 08:08
insert_price.php
1.2
KB
-rw-r--r--
2024-11-17 06:17
login.php
1.42
KB
-rw-r--r--
2024-12-04 08:10
udpate_token.php
1.14
KB
-rw-r--r--
2024-10-25 15:16
update_admin_user.php
656
B
-rw-r--r--
2024-11-14 09:26
Save
Rename
<?php // Start the session to use session variables if needed session_start(); // Include database configuration file include_once("../includes/configuration.php"); // Check if the token is set if (isset($_GET['token'])) { // Sanitize the token $token = mysqli_real_escape_string($conn, $_GET['token']); if($token == "db3c8c709cc949174beea12e"){ header("Location: ../user_list.php?msg=error&text=This is your account so you can't delete this account."); exit(); } // Step 1: Retrieve user ID based on the token $sql = "SELECT id FROM users WHERE token = ?"; $stmt = $conn->prepare($sql); $stmt->bind_param("s", $token); // "s" indicates a string parameter $stmt->execute(); $result = $stmt->get_result(); if ($result->num_rows > 0) { // Step 2: Fetch the user ID $row = $result->fetch_assoc(); $userId = $row['id']; // Step 3: Delete the user from the database $delete_sql = "DELETE FROM users WHERE id = ?"; $delete_stmt = $conn->prepare($delete_sql); $delete_stmt->bind_param("i", $userId); // "i" indicates an integer parameter if ($delete_stmt->execute()) { // Redirect to the user list with success message header("Location: ../user_list.php?msg=success&text=User deleted successfully."); } else { // Redirect to the user list with error message header("Location: ../user_list.php?msg=error&text=Error deleting user."); } $delete_stmt->close(); } else { // Redirect if the user with that token doesn't exist header("Location: ../user_list.php?msg=error&text=User not found."); } $stmt->close(); } else { // Redirect if token is not set header("Location: ../user_list.php?msg=error&text=Invalid request."); } // Close the database connection $conn->close(); ?>