This commit is contained in:
Bxio 2025-06-23 15:33:45 +01:00
parent 6ef357084c
commit 370746bf6e

View File

@ -15,8 +15,8 @@ for country in $COUNTRIES; do
url="https://www.ipdeny.com/ipblocks/data/countries/${country}.zone"
echo "Tentando baixar lista de IPs para o país: $country"
tmp_file="${country}.zone.tmp"
target_file="${country}.zone"
tmp_file="zone/${country}.zone.tmp"
target_file="zone/${country}.zone"
if curl -sSf -o "$tmp_file" "$url"; then
echo "Download concluído para $country."