Linux 120.141.167.72.host.secureserver.net 4.18.0-553.150.1.el8_10.x86_64 #1 SMP Fri Jul 31 15:23:31 EDT 2026 x86_64
Apache
: 72.167.141.120 | : 216.73.216.219
808 Domain
8.0.30
bestseocompany
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
bestseocompany /
public_html /
shareandhide.dev /
[ HOME SHELL ]
Name
Size
Permission
Action
.well-known
[ DIR ]
drwxr-xr-x
uploads
[ DIR ]
drwxrwxrwx
.htaccess
281
B
-rw-r--r--
access.php
4.49
KB
-rw-r--r--
db.php
842
B
-rw-r--r--
delete.php
625
B
-rw-r--r--
generate.php
1.97
KB
-rw-r--r--
index.php
483
B
-rw-r--r--
style.css
444
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : access.php
<?php require 'db.php'; // Database connection // Check if the 'file_id' parameter is set in the URL if (isset($_GET['file_id'])) { $fileId = $_GET['file_id']; // Query to fetch file details from the database try { $stmt = $pdo->prepare("SELECT * FROM files WHERE unique_id = ?"); $stmt->execute([$fileId]); $file = $stmt->fetch(); if ($file) { // Get file details from the database $filePath = $file['file_path']; $fileName = $file['file_name']; $fileExtension = pathinfo($fileName, PATHINFO_EXTENSION); // Check if the file exists in the upload directory if (file_exists($filePath)) { // Handle Image Display if (in_array(strtolower($fileExtension), ['jpg', 'jpeg', 'png', 'gif'])) { echo '<!DOCTYPE html>'; echo '<html lang="en">'; echo '<head>'; echo '<meta charset="UTF-8">'; echo '<meta name="viewport" content="width=device-width, initial-scale=1.0">'; echo '<title>View Image</title>'; echo '<style>'; echo 'body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #f9f9f9; }'; echo 'img { max-width: 90%; max-height: 90%; }'; echo '</style>'; echo '</head>'; echo '<body>'; echo '<img src="' . $filePath . '" alt="Shared Image">'; echo '<script>'; echo 'setTimeout(() => {'; echo ' fetch(window.location.href, { method: "DELETE" })'; echo ' .then(() => window.location.href = "about:blank")'; echo ' .catch(err => console.error("Error deleting image:", err));'; echo '}, 10000);'; // Delete after 10 seconds echo '</script>'; echo '</body>'; echo '</html>'; // Delete the file after access unlink($filePath); // Optionally, delete the record from the database $stmt = $pdo->prepare("DELETE FROM files WHERE unique_id = ?"); $stmt->execute([$fileId]); } // Handle Video Display elseif (in_array(strtolower($fileExtension), ['mp4', 'webm', 'ogg'])) { echo '<!DOCTYPE html>'; echo '<html lang="en"><head><meta charset="UTF-8"><title>View Video</title></head><body>'; echo '<video width="100%" height="auto" controls controlsList="nodownload">'; echo '<source src="' . $filePath . '" type="video/' . $fileExtension . '">'; echo 'Your browser does not support the video tag.'; echo '</video>'; echo '</body></html>'; // Delete the file after playback unlink($filePath); // Optionally, delete the record from the database $stmt = $pdo->prepare("DELETE FROM files WHERE unique_id = ?"); $stmt->execute([$fileId]); } // Handle Audio Display elseif (in_array(strtolower($fileExtension), ['mp3', 'wav'])) { echo '<!DOCTYPE html>'; echo '<html lang="en"><head><meta charset="UTF-8"><title>View Audio</title></head><body>'; echo '<audio controls controlsList="nodownload">'; echo '<source src="' . $filePath . '" type="audio/' . $fileExtension . '">'; echo 'Your browser does not support the audio tag.'; echo '</audio>'; echo '</body></html>'; // Delete the file after playback unlink($filePath); // Optionally, delete the record from the database $stmt = $pdo->prepare("DELETE FROM files WHERE unique_id = ?"); $stmt->execute([$fileId]); } } else { die("File not found."); } } else { die("File not found in database."); } } catch (PDOException $e) { die("Error fetching file data: " . $e->getMessage()); } } else { die("File ID not specified."); } ?>
Close