L7 ddos attack detector script (Nginx)
(Programming Language - Node.js | Shell)
Tutorial to install the bot ! For LINUX (VPS or Dedicated Server)
bash <( curl -s https://raw.githubusercontent.com/Kurama250/Alert_L7_DDoS/main/setup.sh)
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
And you also change this line :
const webhookURL = 'YOUR_WEBHOOK_LINK' ;
To modify the number of detection requests modified this line :
After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !
pm2 start index.js -n DDoS_Alert
Support on Discord : Discord Link - Create a Ticket with bot for help
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 !