fastnetmon-ng/notify_about_attack.sh
Pavel Odintsov 88b746419f New system:)
2013-10-18 17:28:00 +04:00

11 lines
296 B
Bash
Executable File

#!/bin/bash
#$1 client_ip_as_string
#$2 data_direction
#$3 pps_as_string
email_notify="odintsov@fastvps.ru,hohryakov@fastvps.ru,ziltsov@fastvps.ee"
echo "Subject, please execute all related tasks :)" | mail -s "Myflower Guard: IP $1 blocked bacause $2 attack with power $3 pps" $email_notify