This commit is contained in:
root 2023-12-17 12:16:36 -05:00
parent aaef1b2713
commit 4ebd9a0b23
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@
echo Fetching OISD blocklists
if ! command -v curl >/dev/null; then
echo 'curl is required for this script to run.'
exit 1
fi
curl https://big.oisd.nl/domainswild2 -o oisd/big
curl https://nsfw.oisd.nl/domainswild2 -o oisd/nsfw

View file

@ -1,9 +1,11 @@
#!/bin/bash
if ! command -v ftp >/dev/null; then
echo 'ftp is required for this script to work.'
exit 1
fi
if ! command -v tar >/dev/null; then
echo 'tar is required for this script to work.'
exit 1
fi
ftp ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz -o ut1/ut1.tar.gz
tar xzf ut1/ut1.tar.gz -C ut1/