Update gerar.sh

This commit is contained in:
darnix1 2025-05-24 08:08:33 -06:00 committed by GitHub
parent 29c70882a7
commit 1b164b6bd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ tput cuu1 >&2 && tput dl1 >&2
permited=$(curl -sSL "https://raw.githubusercontent.com/darnix1/permission/refs/heads/main/ipmini")
permited=$(curl -sSL "https://www.dropbox.com/scl/fi/8nippldrot2stfa39sqi9/Control-Bot.txt")
[[ $(echo $permited|grep "$(wget -qO- ifconfig.me)") = "" ]] && {
rm -rf /etc/SCRIPT
systemctl disable BotGen-server.service
@ -512,21 +512,21 @@ files_script
elif [[ ${varread} = 3 ]]; then
[[ -e "/bin/ShellBot.sh" ]] && rm -f /bin/ShellBot.sh
#bash -c "$(curl -fsSL https://www.dropbox.com/s/o033e3zh5ptttjr/setup.gen)" --ADMcgh
source <(curl -fsSL https://raw.githubusercontent.com/darnix1/Botcgh/main/init/setup.gen) --ADMcgh
source <(curl -fsSL https://www.dropbox.com/scl/fi/wrmnf5nhdmzu30qvrs6tx/setup.gen) --ADMcgh
exit&&exit
fi
}
files_script() {
echo " CREANDO EL FCHERO DE ACTUALIZACION"
wget -q --no-check-certificate -O /tmp/files.tar.gz https://raw.githubusercontent.com/darnix1/Botcgh/main/SCRIPTS/ADMcgh/SCRIPT.tar.gz && echo -e " DESCARGANDO ChumoGH EN 127.0.0.1:81 " || echo -e " ERROR EN DESCARGAR LOCALFILES"
wget -q --no-check-certificate -O /tmp/files.tar.gz https://www.dropbox.com/scl/fi/f274xf8hgporhmg50sv4x/SCRIPT.tar.gz && echo -e " DESCARGANDO ChumoGH EN 127.0.0.1:81 " || echo -e " ERROR EN DESCARGAR LOCALFILES"
rm -f /etc/SCRIPT/*
[[ -e /tmp/files.tar.gz ]] && tar -xzvf /tmp/files.tar.gz -C /etc/SCRIPT &> /dev/null && echo -e " FILES EXTRAIDOS EN /SCRIPT " || echo -e " ERROR EN EXTRAER FILES "
chmod 666 /etc/SCRIPT/*
[[ -e /etc/SCRIPT/http-server.py ]] && mv /etc/SCRIPT/http-server.py /bin/http-server.sh
chmod +x /bin/http-server.sh
rm -f /tmp/files.tar.gz
wget -q --no-check-certificate -O /tmp/files.tar.gz https://www.dropbox.com/s/z16y8r2pqurbz4t/SCRIPT.tar.gz && echo -e " DESCARGANDO LATAM EN 127.0.0.2:81 " || echo -e " ERROR EN DESCARGAR LOCALFILES"
wget -q --no-check-certificate -O /tmp/files.tar.gz https://www.dropbox.com/scl/fi/ep7qcknzlmhh4rbaibh7f/SCRIPT.tar.gz && echo -e " DESCARGANDO LATAM EN 127.0.0.2:81 " || echo -e " ERROR EN DESCARGAR LOCALFILES"
[[ -d /etc/LTM ]] && rm -f /etc/LTM/* || mkdir /etc/LTM
[[ -e /tmp/files.tar.gz ]] && tar -xzvf /tmp/files.tar.gz -C /etc/LTM &> /dev/null && echo -e " FILES EXTRAIDOS EN /LTM " || echo -e " ERROR EN EXTRAER FILES "
chmod 666 /etc/LTM/*
@ -584,7 +584,7 @@ rm -rf /etc/ADM-db
CIDdir=/etc/ADM-db && [[ ! -d ${CIDdir} ]] && mkdir ${CIDdir}
clear&&clear
#source <(curl -sSL https://www.dropbox.com/s/r0mtoe0bv9vr62c/setup.botgen)
source <(curl -sSL https://raw.githubusercontent.com/darnix1/Botcgh/main/init/setup.bot)
source <(curl -sSL https://www.dropbox.com/scl/fi/l3l8fkse5q6gdbvy8rnbr/setup.bot)
call.config
}