Install DDoS attack in kali to send packets locally

Note: Please use DDos attack correctly, and do not use it to do things that violate local laws and regulations, otherwise you will bear the consequences.

First, open a terminal

Enter the following command

git clone https://github.com/Andysun06/ddos

In this way, the data package for DDos has been downloaded to your Kali

Next, enter the DDos folder you downloaded, and enter the command (note case):

cd ddos

The kali used for demonstration in this article is the 2020 version, execute ddos-p2.py with python, and enter the command:

python ddos-p2.py

Then enter the IP of the attack target

Open another command line window and enter the command:

ping URL(URL为目标网址)

The IP address of the attack target can be obtained. (Ctrl+C can end ping after obtaining IP)

Then go back to the command line window just now, and enter the IP address you pinged to

Attack Port is the attack port, and the general server defaults to 80 (for more information, please Baidu)
Attack Speed ​​is the attack speed, the larger the value, the faster, the maximum cannot exceed 1000

Press Enter, that is, the DDos attack has started to the IP, and it is successful.

おすすめ

転載: blog.csdn.net/m0_73895181/article/details/130334502