simple-ddos

    2.0.4 • Public • Published

    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)

    Install

    npm i simple-ddos

    DownloadsWeekly Downloads

    25

    Version

    2.0.4

    License

    MIT

    Unpacked Size

    4.63 kB

    Total Files

    6

    Last publish

    Collaborators

    • dropthebeatbro