Current Path :
/
opt
/
anderson
/
Or
Select Your Path :
Upload File :
New :
File
Dir
//opt/anderson/brute_force.sh
#!/bin/bash grep "$1" /var/log/exim_mainlog > /tmp/ips cat /etc/csf/csf.deny | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort -u > /tmp/csf cat /tmp/ips | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort -u > /tmp/ips_exim sh /opt/anderson/limpa.sh cat /tmp/ips_exim >> /etc/csf/csf.deny clear echo "### IPs Bloqueados ###" cat /tmp/ips_exim systemctl restart csf lfd