Skip to content
/ slowloris Public

A simple pure Python3 Slowloris implementation for educational purposes.

License

Notifications You must be signed in to change notification settings

le37/slowloris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slowloris

A simple pure Python3 Slowloris implementation for educational purposes. Includes Docker files for building demonstration targets.

Related CVE: CVE-2007-6750

Usage

python3 slowloris.py {HOST} {PORT} {NUMBER_OF_CONNECTIONS}

e.g.

python3 slowloris.py localhost 8080 1000

Target Down

Build Targets (Optional)

Two Docker files are included to build demonstration targets:

  • Apache latest (quick to build but less vulnerable)
  • Apache 2.2.14 (slower to build but more vulnerable)

Step 1

Download and install Docker Desktop

Step 2

To build latest:

cd targets/latest

docker build -t apache-latest .

docker run -dit --name slowloris-target -p 8080:80 apache-latest

To build 2.2.14:

cd targets/2.2.14

docker build -t apache-2.2.14 .

docker run -dit --name slowloris-target -p 8080:80 apache-2.2.14

Step 3

Test the target is up and running by visiting http://localhost:8080 in your browser:

Target Up

About

A simple pure Python3 Slowloris implementation for educational purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published