From 517ceaff0550d085920ec7ae3d175d844917e642 Mon Sep 17 00:00:00 2001 From: borekon Date: Mon, 12 Jun 2023 13:24:01 +0000 Subject: [PATCH] Actualizar 'adblock_test.sh' --- adblock_test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/adblock_test.sh b/adblock_test.sh index 2c2fab7..1151939 100644 --- a/adblock_test.sh +++ b/adblock_test.sh @@ -31,11 +31,11 @@ for j in $domains; do echo -e "${YELLOW}$j${NC}:" output=$(dig @$dns $j +short) if [[ "$output" == *"$ip_to_find"* ]]; then - verde $output - ((blocked++)) -else - rojo $output -fi + verde $output + ((blocked++)) + else + rojo $output + fi echo "" done; porcentaje=$(( blocked * 10 ))