Update LATAM

This commit is contained in:
darnix1 2025-05-08 17:03:45 -06:00 committed by GitHub
parent 518c4940d7
commit 06bb887eaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
LATAM
View File

@ -120,7 +120,7 @@ password required pam_permit.so' >/etc/pam.d/common-password && chmod +x /etc/pa
echo ""
msgi -bar2
fun_ip() {
TUIP=$(curl -sSL ifconfig.me)
TUIP=$(curl -sSL https://ipinfo.io/ip)
echo "$TUIP" >/root/.ssh/authrized_key.reg
echo -e "\033[1;97m ESTA ES TU IP PUBLICA? \033[32m$TUIP"
msgi -bar2
@ -235,7 +235,7 @@ Install_key() {
Filotros="${SCPdir}/temp"
IP=$(cat /root/.ssh/authrized_key.reg)
function_verify() {
permited=$(curl -sSL "https://raw.githubusercontent.com/darnix1/permission/refs/heads/main/client")
permited=$(curl -sSL "https://raw.githubusercontent.com/darnix1/permission/refs/heads/main/ipmini")
[[ $(echo $permited | grep "${IP}") = "" ]] && {
clear && clear
echo -e "\n\n\n\033[1;91m————————————————————————————————————————————————————\n ¡ESTA KEY NO CONCUERDA CON EL INSTALADOR! \n CONATACTE A @Kalix1\n————————————————————————————————————————————————————\n\n\n"