Web server stress tester in python
Install the required modules with:
$ python3 -m pip install -r requirements.txt
$ python3 dos.py [options] | [<destination> <# of threads> [flags]]
-v, --verbose
: verbose output.
-p, --python
: use python’s requests module instead of curl
.
This is much slower and more error prone at high thread counts. Only use this option if you do not have curl
.
-h, --help
: prints help message.
-V, --version
: prints version information.
-l, --legal
: prints legal information.
Press enter to stop, and kill all child threads.
For effective results on a single, relatively low-power server, a few thousand threads will do.
Target web pages that include back-end processing for best results.
In addition to the MIT License, this further legal disclosure applies:
I (Theo Henson) am not responsible for the repercussions that you (a user of this software) may face through the illegal usage of this software, nor am I responsible for the damage that any user causes, using this software. By using this software, you take full responsibility, in other words, *use at your own risk*.