This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ufw status numbered | grep 'DENY IN' | awk -F] '{print $1}' | sed 's/\[\s*//' | tac | xargs -n 1 bash -c 'yes|sudo ufw delete $0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Go to our working directory | |
cd /tmp | |
# Download Blacklist | |
wget https://lists.blocklist.de/lists/all.txt --no-check-certificate | |
wget http://opendbl.net/lists/talos.list | |
# List cleaning |
OlderNewer