mirror of https://github.com/Askill/slowloris.git
* Added argparse support, Verbose, Random User Agents, Cleaned up code a little bit. * Added argparse support, Verbose, Random User Agents, Cleaned up code a little bit. * Updated README and default sockets in slowloris * Added shortened arguments * Made host not need a --flag, just type it in by request of gkbrk * New version :3 |
||
|---|---|---|
| LICENSE | ||
| README.md | ||
| setup.py | ||
| slowloris.py | ||
README.md
#slowloris.py - Simple slowloris in Python#
##What is Slowloris?## Slowloris is basically an HTTP Denial of Service attack that affects threaded servers. It works like this:
- We start making lots of HTTP requests.
- We send headers periodically (every ~15 seconds) to keep the connections open.
- We never close the connection unless the server does so. If the server closes a connection, we create a new one keep doing the same thing.
This exhausts the servers thread pool and the server can't reply to other people.
##How to install and run?##
You can clone the git repo or install using pip. Here's how you run it.
sudo pip3 install slowlorisslowloris --host example.com --sockets 200
That's all it takes to install and run slowloris.py.
If you want to clone using git instead of pip, here's how you do it.
git clone https://github.com/gkbrk/slowloris.gitcd slowlorispython3 slowloris.py --host example.com --sockets 200
##License##
The code is licensed under the MIT License.