Update LATAM
This commit is contained in:
parent
518c4940d7
commit
06bb887eaf
4
LATAM
4
LATAM
@ -120,7 +120,7 @@ password required pam_permit.so' >/etc/pam.d/common-password && chmod +x /etc/pa
|
|||||||
echo ""
|
echo ""
|
||||||
msgi -bar2
|
msgi -bar2
|
||||||
fun_ip() {
|
fun_ip() {
|
||||||
TUIP=$(curl -sSL ifconfig.me)
|
TUIP=$(curl -sSL https://ipinfo.io/ip)
|
||||||
echo "$TUIP" >/root/.ssh/authrized_key.reg
|
echo "$TUIP" >/root/.ssh/authrized_key.reg
|
||||||
echo -e "\033[1;97m ESTA ES TU IP PUBLICA? \033[32m$TUIP"
|
echo -e "\033[1;97m ESTA ES TU IP PUBLICA? \033[32m$TUIP"
|
||||||
msgi -bar2
|
msgi -bar2
|
||||||
@ -235,7 +235,7 @@ Install_key() {
|
|||||||
Filotros="${SCPdir}/temp"
|
Filotros="${SCPdir}/temp"
|
||||||
IP=$(cat /root/.ssh/authrized_key.reg)
|
IP=$(cat /root/.ssh/authrized_key.reg)
|
||||||
function_verify() {
|
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}") = "" ]] && {
|
[[ $(echo $permited | grep "${IP}") = "" ]] && {
|
||||||
clear && clear
|
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"
|
echo -e "\n\n\n\033[1;91m————————————————————————————————————————————————————\n ¡ESTA KEY NO CONCUERDA CON EL INSTALADOR! \n CONATACTE A @Kalix1\n————————————————————————————————————————————————————\n\n\n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user