From 38db3a037698297a94624d9af954fa15eee64b81 Mon Sep 17 00:00:00 2001 From: darnix1 <146903037+darnix1@users.noreply.github.com> Date: Fri, 25 Apr 2025 20:40:03 -0600 Subject: [PATCH] Update setup.bot --- init/setup.bot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init/setup.bot b/init/setup.bot index d0eabfa..1a1aa4e 100644 --- a/init/setup.bot +++ b/init/setup.bot @@ -43,7 +43,7 @@ echo $selection check_ip () { MIP=$(ip addr | grep 'inet' | grep -v inet6 | grep -vE '127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | grep -o -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | head -1) -MIP2=$(wget -qO- ipv4.icanhazip.com) +MIP2=$(wget -qO- https://ipinfo.io/ip) [[ "$MIP" != "$MIP2" ]] && IP="$MIP2" || IP="$MIP" } @@ -56,7 +56,7 @@ permited=$(curl -sSL "https://raw.githubusercontent.com/darnix1/permission/refs/ clear echo -e "\n\n\n" msg -bar3 - echo -e "\e[31m ¡LA IP $(wget -qO- ipv4.icanhazip.com) FUE RECHAZADA!" + echo -e "\e[31m ¡LA IP $(wget -qO- https://ipinfo.io/ip) FUE RECHAZADA!" echo -e " $link No AUTORIZADA el ACCESO " echo -e " SI DESEAS USAR EL BOTGEN CONTACTE A @ChumoGH" msg -bar3 @@ -68,7 +68,7 @@ permited=$(curl -sSL "https://raw.githubusercontent.com/darnix1/permission/refs/ clear echo -e "\n\n\n" msg -bar3 - echo -e "\e[32m ¡LA IP $(wget -qO- ipv4.icanhazip.com) ESTA AUTORIZADA!" + echo -e "\e[32m ¡LA IP $(wget -qO- https://ipinfo.io/ip) ESTA AUTORIZADA!" echo -e " -> [NGINX} Autorizada" msg -bar3 echo -e "\n\n\n"