From a6786ae5d3ad3428bca3ed9cf4711b2e2507075e Mon Sep 17 00:00:00 2001 From: "@drowkid01" Date: Tue, 27 May 2025 01:45:39 -0600 Subject: [PATCH] @drowkid1 --- init.sh | 18 +++++++++++------- otros/http-server.service | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/init.sh b/init.sh index 6e3ea4a..18c072c 100755 --- a/init.sh +++ b/init.sh @@ -546,6 +546,7 @@ remover_key_usada() { } fum_ver() { +unset Keey while [[ ! $Keey ]]; do clear export PATH=$PATH:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/games @@ -554,11 +555,16 @@ fum_ver() { [[ ! -z $Keey ]] && Keey="$(echo "$Keey" | tr -d '[[:space:]]')" tput cuu1 && tput dl1 done - REQUEST=$(ofus "$Keey" | cut -d'/' -f2) + if [[ $scp == 'scriptdk1' ]] && [[ $1 == $(( $OPTIND - 1 )) ]]; then + REQUEST=$(ofus "$Keey" | cut -d'/' -f2) + else + REQUEST=$(ofusb "$Keey"|cut -d'/' -f2) + fi + REQUEST=$(ofus $Keey|cut -d'/' -f2) echo -e "\n" echo -e " FILE Contend : ${REQUEST} $(echo ${REQUEST} | wc -c)" echo -e "\n" - echo -e " VERIFICA, Si tu key Contiene \033[1;45m KEY DE ChumoGH! \033[0m " + echo -e " VERIFICA, Si tu key Contiene \033[1;45m KEY DE ${scp}! \033[0m " echo -e "\n" msg -ne " Link Key: http://$(ofus $Keey) \n " IiP=$(ofus "$Keey" | grep -vE '127\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | grep -o -E '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}') @@ -587,7 +593,7 @@ fum_ver() { msg -ne " \033[1;42mESTADO :\033[0m " [[ -e $HOME/list-key ]] && { echo -ne " " - [[ $ofen = "KEY DE ChumoGH!" ]] && + [[ $ofen = @('KEY FUNCIONAL!'|"KEY DE @drowkid01!") ]] && echo -e "KEY FUNCIONAL" && rm -f $HOME/list-key && echo -ne "\033[0m" } || echo -e " KEY INVALIDA O USADA\033[0m\n" #curl -s --connect-timeout 2 ${IiP}:81/${REQUEST}/menu_credito > menu_credito @@ -902,10 +908,8 @@ elif [[ $1 == @('-m'|'--menu') ]]; then msg -b&&menu_func "VERIFICAR KEY \E[38;5;99mSCRIPTDK1" "VERIFICAR KEY \E[38;5;99mCASITA/VPS-MX" "VERIFICAR KEY \e[38;5;99mLATAM" "VERIFICAR KEY \e[38;5;99mDARNIX" back&&opz=$(selection_fun 4) case $opz in - 0)$0 --menu;; - 1);; - 2);; - 3);; + 0)$0 --menu ;; + 1|2|3|4) fum_ver "$opcao" esac ;; 5) diff --git a/otros/http-server.service b/otros/http-server.service index 67181c3..b7146a9 100755 --- a/otros/http-server.service +++ b/otros/http-server.service @@ -6,7 +6,7 @@ After=network.target Type=simple User=root WorkingDirectory=/root -ExecStart=/bin/bash /bin/http-server.sh -start +ExecStart=/bin/http-server.sh -start Restart=always RestartSec=3s