apt update && apt upgrade -y
apt install curl jq -ygit clone https://github.com/Kurama250/Alert_ssh.git
cd Alert_ssh/nano alert.sh- And you also change this line :
ALLOWED_IPS=("127.0.0.1" "192.168.1.1") # Add your IP WH
DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/1265070339566600233/YOUR _DISCORD_EMBED"- After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !
- Edit this file in
(/root/.bashrc) or (/root/.zshrc) It all depends on your shell
- If you do not use root then put it in the base directory in order to add this line in the files that your shell uses !
bash /root/alert.sh # If you put it elsewhere then put the access pathSupport on Discord : Discord Link - Create a Ticket with bot for help
Licence : Creative commons - CC BY-NC-ND 4.0 by Kurama250