From 3a3671435f22b5ef0dc46650078d8b434c9f7fc4 Mon Sep 17 00:00:00 2001 From: borekon Date: Wed, 11 Oct 2023 08:10:56 +0000 Subject: [PATCH] Actualizar 'domain_cleaner.sh' --- domain_cleaner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain_cleaner.sh b/domain_cleaner.sh index 9dfd1e7..5d68a8e 100644 --- a/domain_cleaner.sh +++ b/domain_cleaner.sh @@ -4,7 +4,7 @@ source <(curl -s https://gitea.avc.cx/borekon/scripts/raw/branch/main/colores.sh ip_to_find="0.0.0.0" deleted=0 kept=0 -domains2=${1:-$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | grep -v ^# | cut -d" " -f2)} +domains2=${1:-$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts} domains=$(cat domains2 | grep -v ^# | cut -d" " -f2) for j in $domains; do output=$(dig @192.168.1.1 $j +short)