MHDDoS
Version vom 15. März 2023, 19:00 Uhr von Thomas.will (Diskussion | Beiträge)
Testen und Visualisieren auf nginx
Getestet auf Debian
nginx installieren
- systemctl disable --now apache2
- apt install nginx
- systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-02-27 09:59:45 CET; 1min 49s ago
Docs: man:nginx(8)
Process: 14589 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 14590 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 14591 (nginx)
Tasks: 2 (limit: 2337)
Memory: 2.5M
CPU: 20ms
CGroup: /system.slice/nginx.service
├─14591 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
└─14592 nginx: worker process
Feb 27 09:59:45 debian systemd[1]: Starting A high performance web server and a reverse proxy server...
Feb 27 09:59:45 debian systemd[1]: nginx.service: Failed to parse PID from file /run/nginx.pid: Invalid argument
Feb 27 09:59:45 debian systemd[1]: Started A high performance web server and a reverse proxy server.
nginx-UI
- bash <(curl -L -s https://raw.githubusercontent.com/0xJacky/nginx-ui/master/install.sh) install
- ein Programm, um die Auslastung von nginx anzuzeigen
- Läuft auf Port 9000
- systemctl status nginx-ui
● nginx-ui.service - Yet another WebUI for Nginx
Loaded: loaded (/etc/systemd/system/nginx-ui.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-02-27 09:40:38 CET; 24min ago
Docs: https://github.com/0xJacky/nginx-ui
Main PID: 8072 (nginx-ui)
Tasks: 15 (limit: 2337)
Memory: 25.9M
CPU: 2.404s
CGroup: /system.slice/nginx-ui.service
├─8072 /usr/local/bin/nginx-ui -config /usr/local/etc/nginx-ui/app.ini
└─8091 /usr/local/bin/nginx-ui -config /usr/local/etc/nginx-ui/app.ini
Installation
- git clone https://github.com/MatrixTM/MHDDoS.git
- cd MHDDoS
- pip install -r requirements.txt
- cd -
Angriff starten
- cd MHDDoS
- TCP-Angriff für 30 Sekunden mit 100 Threads auf localhost
- python3 start.py tcp 127.0.0.1 100 30
[10:13:13 - INFO] Attack Started to 127.0.0.1 with TCP method for 30 seconds, threads: 100!
