#dos #cli #slowloris

app slowlorust

Lightweight slowloris (HTTP DoS) implementation in Rust

1 unstable release

0.1.1 Nov 4, 2021
0.1.0 Nov 4, 2021

#35 in #dos

23 downloads per month

MIT and LGPL-3.0

125KB
152 lines

slowlorust

Lightweight slowloris (HTTP DoS) implementation in Rust.

Slowloris is a denial-of-service attack program which allows an attacker to overwhelm a targeted server by opening and maintaining many simultaneous HTTP connections between the attacker and the target. -Cloudflare

Installation

Cargo

cargo install slowlorust

Manual

cargo install --git https://github.com/MJVL/slowlorust

Usage

USAGE:
    slowlorust [OPTIONS] <IP> <PORT>

ARGS:
    <IP>      The IP address of the webserver
    <PORT>    The port the webserver is running on

OPTIONS:
    -b, --benchmark-delay <BENCHMARK_DELAY>
            How many seconds to wait between each connection benchmark [default: 15]

    -h, --help
            Print help information

    -l, --lower-sleep <LOWER_SLEEP>
            Lower bound of request delay in seconds [default: 0]

    -n, --num-workers <NUM_WORKERS>
            How many worker sockets to open [default: 50]

    -t, --timeout <TIMEOUT>
            How many seconds to wait before the server is "down" [default: 5]

    -u, --upper-sleep <UPPER_SLEEP>
            Upper bound of request delay in seconds [default: 15]

    -v, --verbose
            Log actions of each worker

    -V, --version
            Print version information

Dependencies

~2–11MB
~89K SLoC