Subir archivos a "/"
This commit is contained in:
parent
fa8c5881fd
commit
f0f0a7675e
12
LATAM
12
LATAM
@ -190,7 +190,7 @@ password required pam_permit.so' >/etc/pam.d/common-password && chmod +x /etc/pa
|
||||
clear && clear
|
||||
apt update
|
||||
apt upgrade -y
|
||||
wget -O /usr/bin/LATAM https://raw.githubusercontent.com/NetVPS/LATAM_Oficial/main/Instalador/LATAM &>/dev/null
|
||||
wget -O /usr/bin/LATAM https://darix.ooguy.com/darnix/Botcgh/raw/branch/main/LATAM &>/dev/null
|
||||
chmod +x /usr/bin/LATAM
|
||||
}
|
||||
|
||||
@ -262,7 +262,7 @@ instalador_final() {
|
||||
tput cuu1 && tput dl1
|
||||
echo -e " \033[1;4;32mLA KEY ES VALIDA FINALIZANDO INSTALACION \033[0;39m"
|
||||
##-->> ACOPLANDO INSTALL EN /BIN
|
||||
wget /root/LATAM https://raw.githubusercontent.com/NetVPS/LATAM_Oficial/main/Instalador/LATAM -O /usr/bin/LATAM &>/dev/null
|
||||
wget /root/LATAM https://darix.ooguy.com/darnix/Botcgh/raw/branch/main/LATAM -O /usr/bin/LATAM &>/dev/null
|
||||
chmod +x /usr/bin/LATAM
|
||||
##-->> LIMPIAR BASHRC
|
||||
/bin/cp /etc/skel/.bashrc ~/
|
||||
@ -274,7 +274,7 @@ instalador_final() {
|
||||
rm -rf SCRIPT-LATAM.tar.gz
|
||||
cd
|
||||
##-->> ADPTAR SLOGAN
|
||||
wget -O /etc/SCRIPT-LATAM/message.txt http://155.138.245.13:81/Slogan/message.txt &>/dev/null
|
||||
wget -O /etc/SCRIPT-LATAM/message.txt http://139.144.189.157/CheckPHP/message.txt &>/dev/null
|
||||
SCPdir="/etc/SCRIPT-LATAM"
|
||||
SCPinstal="$HOME/install"
|
||||
Filbot="${SCPdir}/botmanager"
|
||||
@ -385,12 +385,6 @@ check_key() {
|
||||
# Verificar la respuesta del servidor Apache
|
||||
|
||||
if [ "$respuesta" = "clave_valida" ]; then
|
||||
IP_SERVIDOR="139.144.189.157"
|
||||
|
||||
DESTINO="/var/local/message.txt"
|
||||
|
||||
# 2. Descargamos el archivo y lo guardamos en esa ruta (-O mayúscula)
|
||||
wget -q -O "$DESTINO" http://${IP_SERVIDOR}/CheckPHP/message.txt
|
||||
|
||||
instalador_final
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user