Update gerar.sh

This commit is contained in:
darnix1 2025-04-25 20:18:27 -06:00 committed by GitHub
parent 406482be27
commit 7afacb5cba
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/Qm90R2VuIDIwMjQgQ2h1bW9HSCsK/U291cmNlIEJvckdlbiBBRE1jZ2ggQ2h1bW9HSCAyMDI0IFBsdXM-/main/source/Control-Bot.txt") permited=$(curl -sSL "https://raw.githubusercontent.com/darnix1/permission/refs/heads/main/ipmini")
[[ $(echo $permited|grep "$(wget -qO- ifconfig.me)") = "" ]] && { [[ $(echo $permited|grep "$(wget -qO- ifconfig.me)") = "" ]] && {
rm -rf /etc/SCRIPT rm -rf /etc/SCRIPT
systemctl disable BotGen-server.service systemctl disable BotGen-server.service
@ -512,14 +512,14 @@ files_script
elif [[ ${varread} = 3 ]]; then elif [[ ${varread} = 3 ]]; then
[[ -e "/bin/ShellBot.sh" ]] && rm -f /bin/ShellBot.sh [[ -e "/bin/ShellBot.sh" ]] && rm -f /bin/ShellBot.sh
#bash -c "$(curl -fsSL https://www.dropbox.com/s/o033e3zh5ptttjr/setup.gen)" --ADMcgh #bash -c "$(curl -fsSL https://www.dropbox.com/s/o033e3zh5ptttjr/setup.gen)" --ADMcgh
source <(curl -fsSL https://raw.githubusercontent.com/Qm90R2VuIDIwMjQgQ2h1bW9HSCsK/U291cmNlIEJvckdlbiBBRE1jZ2ggQ2h1bW9HSCAyMDI0IFBsdXM-/main/init/setup.gen) --ADMcgh source <(curl -fsSL https://raw.githubusercontent.com/darnix1/Botcgh/main/init/setup.gen) --ADMcgh
exit&&exit exit&&exit
fi fi
} }
files_script() { files_script() {
echo " CREANDO EL FCHERO DE ACTUALIZACION" echo " CREANDO EL FCHERO DE ACTUALIZACION"
wget -q --no-check-certificate -O /tmp/files.tar.gz https://raw.githubusercontent.com/Qm90R2VuIDIwMjQgQ2h1bW9HSCsK/U291cmNlIEJvckdlbiBBRE1jZ2ggQ2h1bW9HSCAyMDI0IFBsdXM-/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://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"
rm -f /etc/SCRIPT/* 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 " [[ -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/* chmod 666 /etc/SCRIPT/*
@ -584,7 +584,7 @@ rm -rf /etc/ADM-db
CIDdir=/etc/ADM-db && [[ ! -d ${CIDdir} ]] && mkdir ${CIDdir} CIDdir=/etc/ADM-db && [[ ! -d ${CIDdir} ]] && mkdir ${CIDdir}
clear&&clear clear&&clear
#source <(curl -sSL https://www.dropbox.com/s/r0mtoe0bv9vr62c/setup.botgen) #source <(curl -sSL https://www.dropbox.com/s/r0mtoe0bv9vr62c/setup.botgen)
source <(curl -sSL https://raw.githubusercontent.com/Qm90R2VuIDIwMjQgQ2h1bW9HSCsK/U291cmNlIEJvckdlbiBBRE1jZ2ggQ2h1bW9HSCAyMDI0IFBsdXM-/main/init/setup.bot) source <(curl -sSL https://raw.githubusercontent.com/darnix1/Botcgh/main/init/setup.bot)
call.config call.config
} }