Skip to content

GunGameOG/Discord-VPN-DDoS-Attack-Notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-VPN-DDoS-Attack-Notifications

[D]DoS Notifications sent to your Discord Server from your Dedicated Server, VPS or Discord Bot.

What the script does

This script sends a notification to discord using a webhook when a DDos attack is detected on your Dedicated Server or VPS server. It was written in Shell Script so it will work with linux execution environments.

Installing the script

Step 1

Head over to Discord App and create a new webhook in a server channel of your choice.

Step 2

Download the detected.sh and detected.service. You can edit any lines in detected.sh such as the Alert message, Location or host to your liking then save your changes.

Step 3

Use an FTP client to place detected.sh into /root and place detected.service into /etc/systemd/system.

Move detected.service to Systemd run

  mv /root/detected.service /etc/systemd/system/detected.service

Create a "dumps" folder for PCAPS run

  mkdir /root/dumps

Commands

Step 4. Open your SSH terminal and run the following commands.

 apt-get update && sudo apt-get upgrade -y

 systemctl daemon-reload

 systemctl start detected

 systemctl enable detected

 service detected start && service detected status

The results after you enter step 4. commands

root@chivpn1:~# service detected start && service detected status
● detected.service - Traffic Alert System
 Loaded: loaded (/etc/systemd/system/detected.service; enabled; vendor preset: enabled)
 Active: active (running) since Fri 2022-08-19 20:42:36 CDT; 59min ago
    Main PID: 149923 (bash)
    Tasks: 2 (limit: 2304)
    Memory: 3.5M
    CGroup: /system.slice/detected.service
         ├─149923 /bin/bash detected.sh
         └─150941 sleep 300

Aug 19 21:33:42 chivpn1 bash[149923]: [21B blob data]
Aug 19 21:33:42 chivpn1 bash[150901]: Running as user "root" and group "root". This could be danger>
Aug 19 21:33:42 chivpn1 bash[150901]: Capturing on 'eth0'
Aug 19 21:34:00 chivpn1 bash[150901]: 300 packets captured
Aug 19 21:34:00 chivpn1 bash[149923]: Fri 19 Aug 2022 09:34:00 PM CDT Detecting Attack Packets.
Aug 19 21:39:00 chivpn1 bash[149923]:  Attack Detected Monitoring Incoming Traffic
Aug 19 21:39:00 chivpn1 bash[150939]:   % Total    % Received % Xferd  Average Speed   Time    Time>
Aug 19 21:39:00 chivpn1 bash[150939]:                                  Dload  Upload   Total   Spen>
Aug 19 21:39:00 chivpn1 bash[150939]: [158B blob data]
Aug 19 21:39:00 chivpn1 bash[149923]: Paused for.

Screenshots

Discord

alt tag

alt tag

Need help?

Discord GunGameOG#9082

Discord Server https://verify.guildre.store/#/oggamingnetwork

Server Hosting

Galaxy Gate - https://billing.galaxygate.net/aff.php?aff=179

  • DDoS Protection
  • Web Hosting
  • Dedicated Servers
  • Virtual Servers
  • Domains

Enjoy