MHDDoS: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(7 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
= Installation =
 
 
* git clone https://github.com/MatrixTM/MHDDoS.git
 
* cd MHDDoS
 
* pip install -r requirements.txt
 
 
= Testen und Visualisieren auf Nginx =
 
  
Getestet auf einem Debian
+
= Testen und Visualisieren auf nginx =
 +
;Auf dem userver
 +
Getestet auf Debian
  
== Nginx installieren ==
+
== nginx installieren ==
  
* '''systemctl disable –now apache2'''
+
* '''systemctl disable --now apache2'''
 
* '''apt install nginx'''
 
* '''apt install nginx'''
 
* '''systemctl status nginx'''
 
* '''systemctl status nginx'''
Zeile 33: Zeile 28:
 
  Feb 27 09:59:45 debian systemd[1]: Started A high performance web server and a reverse proxy server.
 
  Feb 27 09:59:45 debian systemd[1]: Started A high performance web server and a reverse proxy server.
  
= Webseite =
+
== 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
 +
 
 +
[[Bild:nginx-ui.png|1500px]]
 +
 
 +
= Installation =
 +
;Auf kali
 +
 
 +
 
 +
* '''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 10.0.10.103 100 30'''
 +
 
 +
[10:13:13 - INFO] Attack Started to 10.0.10.103 with TCP method for 30 seconds, threads: 100!
 +
[[Bild:mhddos-tcp.png]]
 +
 
 +
= Links =
  
 
* https://github.com/MatrixTM/MHDDoS
 
* https://github.com/MatrixTM/MHDDoS
 +
* https://github.com/0xJacky/nginx-ui

Aktuelle Version vom 15. März 2023, 19:13 Uhr

Testen und Visualisieren auf nginx

Auf dem userver

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

● 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

Nginx-ui.png

Installation

Auf kali


Angriff starten

  • cd MHDDoS
  • TCP-Angriff für 30 Sekunden mit 100 Threads auf localhost
  • python3 start.py tcp 10.0.10.103 100 30
[10:13:13 - INFO] Attack Started to 10.0.10.103 with TCP method for 30 seconds, threads: 100!

Mhddos-tcp.png

Links