Script to perform a DoS or DDoS UDP Flood by PHP
Switch branches/tags
Nothing to show
Clone or download
Latest commit 176afc1 May 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md uniform line ending Apr 12, 2018
backend.php Added AxissXs among the authors! Dec 31, 2017
index.php Update and rename index.html to index.php Dec 23, 2017

README.md

DDoS-PHP-Script

Script to perform a DDoS UDP flood by PHP

Usage

From web server (visit the page):

http://127.0.0.1/ddos.php?pass=apple&host=TARGET&port=PORT&time=SECONDS&packet=NUMBER&bytes=NUMBER

From terminal:

php ./ddos.php host=TARGET port=PORT time=SECONDS packet=NUMBER bytes=NUMBER

Parameters

help	Print this help summary page
host	REQUIRED specify IP or HOSTNAME
pass	REQUIRED only if used from webserver
port	OPTIONAL if not specified a random ports will be selected
time	OPTIONAL seconds to keep the DDoS alive, required if packet is not used
packet	OPTIONAL number of packets to send to the target, required if time is not used
bytes	OPTIONAL size of the packet to send, defualt: 65000
format	OPTIONAL output format, (text,json,xml), default: text
output	OPTIONAL logfile, save the output to file
verbose	OPTIONAL 0: debug, 1:info, 2:notice, 3:warning, 4:error, default: info

Note: 	If both time and packet are specified, only time will be used

Requirements

  • PHP 5.4 version or greater

To-Do List

  • Introduce a logging function to file

Credits

Special thanks:

License

GNU General Public License version 2.0 (GPLv2)

Disclaimer

This tool is written for educational purpose only, please use it on your own good faith.