An open API service indexing awesome lists of open source software.

https://github.com/kurama250/alert_l7_ddos

This script is used to detect ddos ​​attacks in l7 with nginx !
https://github.com/kurama250/alert_l7_ddos

ddos-detection ddos-detector discord javascript layer7

Last synced: 4 months ago
JSON representation

This script is used to detect ddos ​​attacks in l7 with nginx !

Awesome Lists containing this project

README

          

L7 ddos ​​attack detector script (Nginx)


(Programming Language - Node.js | Shell)











# Tutorial to install the bot ! For LINUX (VPS or Dedicated Server)

## 1 - on Terminal

A) Auto installer

- Run command :

```shell script
bash <(curl -s https://raw.githubusercontent.com/Kurama250/Alert_L7_DDoS/main/setup.sh)
```

B) Manual installer

```shell script
apt update && apt upgrade -y
apt install npm nodejs git -y
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs
```

```shell script
git clone https://github.com/Kurama250/Alert_L7_DDoS.git
cd Alert_L7_DDoS/
npm install axios tail
npm install pm2 -g
```
## 2 - on Terminal

```shell script
nano index.js
```

- And you also change this line :

```js
const webhookURL = 'YOUR_WEBHOOK_LINK';
```

- To modify the number of detection requests modified this line :

```js
const threshold = 750;
```

- After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !

## 3 - on Terminal

```shell script
pm2 start index.js -n DDoS_Alert
```

- Demo :

![alt text](https://github.com/Kurama250/Alert_L7_DDoS/blob/main/alert_ddos.png?raw=true)


Support on Discord : Discord Link - Create a Ticket with bot for help3>

If you like this repository don't hesitate to give it a star ⭐ !


Then it's the end you have started the bot have fun !