Skip to content

Kurama250/Alert_L7_DDoS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :
bash <(curl -s https://raw.githubusercontent.com/Kurama250/Alert_L7_DDoS/main/setup.sh)
B) Manual installer
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
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

nano index.js
  • And you also change this line :
const webhookURL = 'YOUR_WEBHOOK_LINK';
  • To modify the number of detection requests modified this line :
const threshold = 750;
  • After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !

3 - on Terminal

pm2 start index.js -n DDoS_Alert
  • Demo :

alt text

Support on Discord : Discord

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 !

About

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

Topics

Resources

License

Stars

Watchers

Forks