10 lines
No EOL
240 B
Bash
Executable file
10 lines
No EOL
240 B
Bash
Executable file
sudo ipset create fuck-off hash:net
|
|
rm master.txt
|
|
for i in `\ls *.txt`; do
|
|
cat $i>>master.txt
|
|
done
|
|
while read line; do
|
|
echo "banning $line..."
|
|
sudo ipset add fuck-off $line
|
|
done < "master.txt"
|
|
sudo ipset save fuck-off > fuck-off.ipset |