Coroutines-driven. Finshir uses coroutines (also called lightweight threads) instead of ordinary threads, which lets you open many more connections with fewer system resources.
Generic. Unlike other Low & Slow utilities, Finshir lets you transmit arbitrary data sets over the TCP protocol. It may be partial HTTP headers, empty spaces, and so on.
Written in Rust. How you can see, all the logic is written completely in Rust, which means that it leverages bare-metal performance and high-level safety (no SIGSEGV, SIGILL, and other "funny" stuff).
bash
$ cargo install finshir
bash
$ git clone https://github.com/Gymmasssorla/finshir.git
$ cd finshir
$ cargo build --release
The easiest way to run Finshir on your system is to download the pre-compiled binaries from the existing releases, which doesn't require any external software (unlike the two previous approaches).
``` finshir 0.2.2 Temirkhan Myrzamadi gymmasssorla@gmail.com A coroutines-driven Low & Slow traffic sender, written in Rust
USAGE:
finshir [FLAGS] [OPTIONS] --receiver
FLAGS: -h, --help Prints help information --use-tls Use a TLS connection instead of the ordinary TCP protocol. It might be used to test HTTPS-based services. -V, --version Prints version information
OPTIONS:
--connect-periodicity man
strftime
to see the format specification [default: %X]
--failed-count
When a coroutine finished sending all portions, it reconnects its socket
and starts sending them again.
-r, --receiver <SOCKET-ADDRESS> A receiver of generator traffic, specified as an IP address (or a domain
name) and a port number, separated by a colon
-d, --test-duration <TIME-SPAN> A whole test duration, after which all spawned coroutines will stop their
work [default: 64years 64hours 64secs]
-v, --verbosity <LEVEL> Enable one of the possible verbosity levels. The zero level doesn't print
anything, and the last level prints everything.
Note that specifying the 4 and 5 verbosity levels might decrease
performance, do it only for debugging. [default: 3] [possible values: 0,
1, 2, 3, 4, 5]
-w, --wait <TIME-SPAN> A waiting time span before test execution used to prevent a launch of an
erroneous (unwanted) test [default: 5secs]
--write-periodicity <TIME-SPAN> A time interval between writing data portions. This option can be used to
modify test intensity [default: 30secs]
--write-timeout <TIME-SPAN> If a timeout is reached and a data portion wasn't sent, the program will
retry the operation later [default: 10secs]
By default, Finshir generates 100 empty spaces as data portions. If you want to override this behaviour, consider using
the --portions-file
option.
For more information see https://github.com/Gymmasssorla/finshir. ```
The following command spawns 1000 coroutines, each trying to establish a new TCP connection. When connections are established, it sends empty spaces every 30 seconds, thereby order a server to wait as long as it can:
```bash
$ finshir --receiver=google.com:80 ```
Low & Slow techniques assume to be VERY SLOW, which means that you typically send a couple of bytes every N seconds. For instance, Finshir uses the 30 seconds interval by default, but it's modifiable as well:
```bash
$ finshir --receiver=google.com:80 --write-periodicity=1min ```
The default number of parallel connections is 1000. However, you can modify this limit using the --connections
option, but be sure that you system is able to handle such amount of file descriptors:
```bash
$ sudo ulimit -n 17015
$ finshir --receiver=google.com:80 --connections=17000 ```
By default, Finshir generates 100 empty spaces as data portions to send. You can override this behaviour by specifying your custom messages as a file, consisting of a single JSON array. This example is focused on Google:
```bash
--portions-file
$ finshir --receiver=google.com:80 --portions-file files/google.json ```
Consider specifying a custom verbosity level from 0 to 5 (inclusively), which is done by the --verbosity
option. There is also the --date-time-format
option which tells Finshir to use your custom date-time format.
```bash
$ finshir --receiver=google.com:80 --date-time-format="%F" --verbosity=5 ```
Most of web servers today use the HTTPS protocol instead of HTTP, which is based on TLS. Since v0.2.0, Finshir has functionality to connect through TLS using the --use-tls
flag.
```bash
$ finshir --receiver=google.com:443 --use-tls
```
You are always welcome for any contribution to this project! But before you start, you should read the appropriate document to know about the preferred development process and the basic communication rules.
Like most of pentesting utilities, this project is developed, tested, and maintained for only UNIX-based systems. If you are a Windows user, you probably need a virtual machine or another computer with UNIX.
Finshir was developed as a means of testing stress resistance of web servers, and not for hacking, that is, the author of the project IS NOT RESPONSIBLE for any damage caused by your use of his program.
Temirkhan Myrzamadi <gymmasssorla@gmail.com> (the author)