Actualizar 'adblock_test.sh'

This commit is contained in:
borekon 2023-06-12 13:22:18 +00:00
parent 779f7b7f24
commit 6e778b0b72

View File

@ -26,7 +26,7 @@ if [ -z "$1" ]
else
dns=$1
fi
domains=$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts | grep -v \# | shuf -n 10 | cut -d" " -f2)
domains=$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts | grep -v ^# | shuf -n 10 | cut -d" " -f2)
for j in $domains; do
echo -e "${YELLOW}$j${NC}:"
output=$(dig @$dns $j +short)