Skip to content

installation

tester2024 edited this page Oct 27, 2026 · 6 revisions

Installation

Important

MHDDoS requires Python 3.11 or newer. Older interpreters will fail while installing the current dependencies.

Requirements

Component Version Needed for
Python 3.11+ Everything
git any recent version Installing PyRoxy from GitHub
Node.js 18+ Web panel only
Docker 20+ Container image only

Python 3.11 is the minimum because the updated dependencies require it. The project is tested on Python 3.12.

Linux and macOS

git clone https://github.com/MatrixTM/MHDDoS.git
cd MHDDoS
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
python start.py DOCTOR

If python3 is not installed, use your package manager. On Debian/Ubuntu:

sudo apt update
sudo apt install python3 python3-venv python3-pip git

On macOS with Homebrew:

brew install python git

Windows

Install Python 3.11 or newer from python.org and make sure Add Python to PATH is selected.

Open PowerShell in the project folder:

python -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txt
python start.py DOCTOR

If PowerShell blocks the activation script, run this once for the current user:

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned

Docker

docker pull ghcr.io/matrixtm/mhddos:latest
docker run --rm --cap-add=NET_RAW ghcr.io/matrixtm/mhddos:latest HELP

The image runs start.py as its entrypoint. See Docker for Compose, volumes, and raw-socket notes.

Web panel

The default panel is the Node server. Install its dependencies once:

# Linux / macOS
bash web/scripts/install.sh

# Windows
web\scripts\install.bat

Then start it with:

python start.py WEB

The panel opens on http://127.0.0.1:5000. See Web Panel for environment variables and the optional Flask panel.

Manual dependency install

requirements.txt is the supported path. If you need to install by hand, install the same packages in the same order:

pip install -r requirements.txt

The only git dependency is PyRoxy:

pip install "pyroxy @ git+https://github.com/MatrixTM/PyRoxy.git@ea0f88dbc0573292ba5672124f69e4e7a31b544d"

Verify the install

python start.py --version
python start.py DOCTOR

DOCTOR prints one line per check. A failing raw-socket check is normal on Windows without administrator rights; it only affects SYN, ICMP, OVH-UDP, and the amplification methods.

If imports fail, confirm that the virtual environment is active and that pip -V points inside .venv.

Clone this wiki locally