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 !
- Host: GitHub
- URL: https://github.com/kurama250/alert_l7_ddos
- Owner: Kurama250
- License: gpl-3.0
- Created: 2023-06-30T00:27:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-05T15:01:50.000Z (10 months ago)
- Last Synced: 2025-08-05T17:17:10.564Z (10 months ago)
- Topics: ddos-detection, ddos-detector, discord, javascript, layer7
- Language: JavaScript
- Homepage:
- Size: 87.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 :

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 !