mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 13:38:37 +00:00
AntiMalwareHosts has to be removed because it makes the filter lists exceed the 300,000 domains limit. Furthermore, Cloudflare Zero Trust itself can be configured to block malware domains so this feels redundant.
19 lines
744 B
Bash
19 lines
744 B
Bash
#!/bin/bash
|
|
|
|
source $(dirname "$0")/helpers.sh
|
|
|
|
# declare an array of urls
|
|
urls=(
|
|
https://raw.githubusercontent.com/mullvad/dns-blocklists/main/output/doh/doh_adblock.txt
|
|
https://raw.githubusercontent.com/mullvad/dns-blocklists/main/output/doh/doh_gambling.txt
|
|
https://raw.githubusercontent.com/mullvad/dns-blocklists/main/output/doh/doh_privacy.txt
|
|
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts
|
|
https://adaway.org/hosts.txt
|
|
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
|
|
)
|
|
|
|
# download all files in parallel and append them to input.csv
|
|
download_lists $urls 'input.csv'
|
|
|
|
# print a message when done
|
|
echo "Done. The input.csv file contains merged data from recommended filter lists." |