2.0.4 • Published 3 years ago

simple-ddos v2.0.4

Weekly downloads
14
License
MIT
Repository
github
Last release
3 years ago

simple-ddos

Vulnerabilities npm

Description

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

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

pnpm i simple-ddos

Usage

CLI

simple-ddos <threads> <url> <request count> <interval>

Example

# Launches 10 threads of sending 100 requests every 1.5s
simple-ddos 10 http://localhost:3000 100 1500

API

ddos(threadsCount, host, requestCount, interval)

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

import { simpleDDoS } from 'simple-ddos'

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

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago