Dateien nach "/" hochladen
Used for downloading the banned-ips list and making the set
This commit is contained in:
11
make_badguys_set.sh
Normal file
11
make_badguys_set.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
ipset flush ci-badguys
|
||||||
|
ipset flush bca-badguys
|
||||||
|
rm ci-badguys.txt
|
||||||
|
rm bca-banned-ips.txt
|
||||||
|
wget http://cinsscore.com/list/ci-badguys.txt
|
||||||
|
for i in $(cat ci-badguys.txt); do ipset add ci-badguys $i; done
|
||||||
|
wget https://git.bcanet.tech/Lukas/BCA-Blocked-IPs/raw/branch/main/bca-banned-ips.txt
|
||||||
|
for i in $(cat bca-banned-ips.txt); do ipset add bca-badguys $i; done
|
||||||
|
rm ci-badguys.txt
|
||||||
|
rm bca-banned-ips.txt
|
||||||
|
|
||||||
Reference in New Issue
Block a user