An open API service indexing awesome lists of open source software.

https://github.com/anzerr/slowloris.tool

Slowloris attack util
https://github.com/anzerr/slowloris.tool

example http nodejs slowloris slowloris-attack util

Last synced: 6 months ago
JSON representation

Slowloris attack util

Awesome Lists containing this project

README

          

### `Intro`
![GitHub Actions status | publish](https://github.com/anzerr/slowloris.tool/workflows/publish/badge.svg)

Example of slowloris attack it should start with a few connections and try and ramp up until I can't connected anymore

#### `Install`
``` bash
npm install --save git+https://github.com/anzerr/slowloris.tool.git
npm install --save @anzerr/slowloris.tool
```

``` bash
git clone git+https://git@github.com/anzerr/slowloris.tool.git &&
cd slowloris.tool &&
npm link
```

### `Example`
``` bash
slowloris --host localhost:8080 --max 50000
slowloris --host https://localhost:8080
```

``` javascript
const Loris = require('slowloris.tool');
let l = new Loris('http://localhost:8080', 100000).attack();
return new Promise((resolve) => l.once('end', resolve)).then(() => {
console.log('attack ended');
}).catch(console.log);
```