Skip to content
Low bandwidth DoS tool. Slowloris rewrite in Python.
Branch: master
Clone or download

Latest commit


Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE First commit Apr 26, 2015 Add file Mar 27, 2020 Added SOCKS5 proxy support via `socks` library Nov 29, 2016 pypi: Bump package version to v0.2.1 Mar 27, 2020 Auto-format code May 4, 2019 - Simple slowloris in Python

What is Slowloris?

Slowloris is basically an HTTP Denial of Service attack that affects threaded servers. It works like this:

  1. We start making lots of HTTP requests.
  2. We send headers periodically (every ~15 seconds) to keep the connections open.
  3. 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 slowloris
  • slowloris

That's all it takes to install and run

If you want to clone using git instead of pip, here's how you do it.

  • git clone
  • cd slowloris
  • python3

SOCKS5 proxy support

However, if you plan on using the -x option in order to use a SOCKS5 proxy for connecting instead of a direct connection over your IP address, you will need to install the PySocks library (or any other implementation of the socks library) as well. PySocks is a fork from SocksiPy by GitHub user @Anorov and can easily be installed by adding PySocks to the pip command above or running it again like so:

  • sudo pip3 install PySocks

You can then use the -x option to activate SOCKS5 support and the --proxy-host and --proxy-port option to specify the SOCKS5 proxy host and its port, if they are different from the standard

Configuration options

It is possible to modify the behaviour of slowloris with command-line arguments.


The code is licensed under the MIT License.

You can’t perform that action at this time.