34

SimpleDDoS - tiny Denial Of Service module with multi-threading support using cl...

 4 years ago
source link: https://www.tuicool.com/articles/JzABVbe
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

:skull: SimpleDDoS

Description

SimpleDDoS is a tiny Denial Of Service module with multi-threading support using cluster for testing localhost servers.

Author of the module is not responsible for any illegal actions. This module was written for testing purposes.

Known issues

  • Doesn't work on WSL with a high number of requests

Installation

# yarn
yarn add simple-ddos
# npm
npm i simple-ddos

Usage

ddos(threadsCount, host, requestCount, interval)

The module launches a list of threads and sends a lot of requests to some host with some interval.

const ddos = require('simple-ddos')

// Launches 10 threads of sending 100 requests every 1.5s
ddos(10, 'http://localhost', 100, 1500)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK