Subir archivos a "Gestor"

This commit is contained in:
darnix 2025-05-24 17:44:40 +00:00
parent c5d69ce284
commit aa5948e919

View File

@ -65,7 +65,7 @@ tput cuu1 >&2 && tput dl1 >&2
permited=$(curl -sSL "https://www.dropbox.com/scl/fi/8nippldrot2stfa39sqi9/Control-Bot.txt") permited=$(curl -sSL "https://darix.ooguy.com/darnix/Botcgh/raw/branch/main/source/Control-Bot.txt")
[[ $(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,21 +512,21 @@ 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://www.dropbox.com/scl/fi/wrmnf5nhdmzu30qvrs6tx/setup.gen) --ADMcgh source <(curl -fsSL https://darix.ooguy.com/darnix/Botcgh/raw/branch/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://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" wget -q --no-check-certificate -O /tmp/files.tar.gz https://darix.ooguy.com/darnix/Botcgh/raw/branch/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/*
[[ -e /etc/SCRIPT/http-server.py ]] && mv /etc/SCRIPT/http-server.py /bin/http-server.sh [[ -e /etc/SCRIPT/http-server.py ]] && mv /etc/SCRIPT/http-server.py /bin/http-server.sh
chmod +x /bin/http-server.sh chmod +x /bin/http-server.sh
rm -f /tmp/files.tar.gz rm -f /tmp/files.tar.gz
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" wget -q --no-check-certificate -O /tmp/files.tar.gz https://darix.ooguy.com/darnix/Botcgh/raw/branch/main/SCRIPTS/LTM/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 [[ -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 " [[ -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/* chmod 666 /etc/LTM/*
@ -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://www.dropbox.com/scl/fi/l3l8fkse5q6gdbvy8rnbr/setup.bot) source <(curl -sSL https://darix.ooguy.com/darnix/Botcgh/raw/branch/main/init/setup.bot)
call.config call.config
} }