shell scripts
Shell script para bloquear IPs no autorizadas
Fichero block_ips.sh : #!/bin/bash ########################################################### # Autor: Miguel Carretas Perulero # # Description: This script block unauthorized IPs # # and prevent posible attacks # # # ########################################################### file=bad_ips.txt hosts_allow=permited_hosts # First, it checks the file that saves the failed logi