This commit is contained in:
parent
74cd49e6ef
commit
b97d53fc5d
29
exec/menu.sh
29
exec/menu.sh
@ -48,15 +48,18 @@ valuekey+="$(echo $(($RANDOM * 10)) | head -c 6)"
|
|||||||
ip=$(wget -qO- ipv4.icanhazip.com)
|
ip=$(wget -qO- ipv4.icanhazip.com)
|
||||||
arqs=( [0]=$(cat "$scpconf"|jq '.scripts[0].data.files') [1]=$(cat "$scpconf"|jq '.scripts[1].data.files') [2]=$(cat "$scpconf"|jq '.scripts[2].data.files') [3]=$(cat "$scpconf"|jq '.scripts[3].data.files') )
|
arqs=( [0]=$(cat "$scpconf"|jq '.scripts[0].data.files') [1]=$(cat "$scpconf"|jq '.scripts[1].data.files') [2]=$(cat "$scpconf"|jq '.scripts[2].data.files') [3]=$(cat "$scpconf"|jq '.scripts[3].data.files') )
|
||||||
DIR='/etc/http-shell'&&keY="$valuekey"
|
DIR='/etc/http-shell'&&keY="$valuekey"
|
||||||
|
link='https://darix.ooguy.com/drowkid01/dpbt/raw/branch/main/exec/ofus'
|
||||||
case $1 in
|
case $1 in
|
||||||
'scriptdk1'| '--scriptdk1' | '--scriptcgh')
|
'scriptdk1'| '--scriptdk1' | '--scriptcgh')
|
||||||
LIST='-SPVweN'&&BASICINST=${arqs[0]//\"/}
|
LIST='-SPVweN'&&BASICINST=${arqs[0]//\"/}
|
||||||
fress='menu_credito'&&SCPT_DIR='/etc/scripts/scriptdk1'
|
fress='menu_credito'&&SCPT_DIR='/etc/scripts/scriptdk1'
|
||||||
instal="${inst[0]}"
|
instal="${inst[0]}"
|
||||||
|
source <(curl -sSL $link/ofus3)
|
||||||
keyfnl=$(ofus "$ip:8888/$valuekey/$LIST")
|
keyfnl=$(ofus "$ip:8888/$valuekey/$LIST")
|
||||||
;;
|
;;
|
||||||
'--vpsmx'|'vpsmx')
|
'--vpsmx'|'vpsmx')
|
||||||
LIST='lista-arq'
|
LIST='lista-arq'
|
||||||
|
source <(curl -sSL $link/ofus2)
|
||||||
fress='message.txt'&&BASICINST=${arqs[1]//\"/}
|
fress='message.txt'&&BASICINST=${arqs[1]//\"/}
|
||||||
instal="${inst[1]}"&&SCPT_DIR="${ruta[1]}"
|
instal="${inst[1]}"&&SCPT_DIR="${ruta[1]}"
|
||||||
keyfnl=$(ofusdk "$ip:8888/$valuekey/$LIST")
|
keyfnl=$(ofusdk "$ip:8888/$valuekey/$LIST")
|
||||||
@ -64,12 +67,14 @@ case $1 in
|
|||||||
'--latam'|'latam')
|
'--latam'|'latam')
|
||||||
LIST='lista-arq'&&BASICINST=${arqs[2]//\"/}
|
LIST='lista-arq'&&BASICINST=${arqs[2]//\"/}
|
||||||
fress='message.txt'
|
fress='message.txt'
|
||||||
|
source <(curl -sSL $link/ofus1)
|
||||||
instal="${inst[2]}"&&SCPT_DIR="${ruta[2]}"
|
instal="${inst[2]}"&&SCPT_DIR="${ruta[2]}"
|
||||||
keyfnl=$(ofus "$ip:8888/$valuekey/$LIST")
|
keyfnl=$(ofus "$ip:8888/$valuekey/$LIST")
|
||||||
;;
|
;;
|
||||||
'--darnix'|'darnix')
|
'--darnix'|'darnix')
|
||||||
LIST='lista-arq'&&BASICINST=${arqs[3]//\"/}
|
LIST='lista-arq'&&BASICINST=${arqs[3]//\"/}
|
||||||
fress='menu_credito'
|
fress='menu_credito'
|
||||||
|
source <(curl -sSL $link/ofus1)
|
||||||
instal="${inst[3]}"&&SCPT_DIR="${ruta[3]}"
|
instal="${inst[3]}"&&SCPT_DIR="${ruta[3]}"
|
||||||
keyfnl=$(ofusdk "$ip:8888/$valuekey/$LIST")
|
keyfnl=$(ofusdk "$ip:8888/$valuekey/$LIST")
|
||||||
;;
|
;;
|
||||||
@ -100,29 +105,7 @@ enter
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ofus(){
|
|
||||||
unset txtofus
|
|
||||||
number=$(expr length $1)
|
|
||||||
for ((i = 1; i < $number + 1; i++)); do
|
|
||||||
txt[$i]=$(echo "$1" | cut -b $i)
|
|
||||||
case ${txt[$i]} in
|
|
||||||
".") txt[$i]="x" ;;
|
|
||||||
"x") txt[$i]="." ;;
|
|
||||||
"5") txt[$i]="s" ;;
|
|
||||||
"s") txt[$i]="5" ;;
|
|
||||||
"1") txt[$i]="@" ;;
|
|
||||||
"@") txt[$i]="1" ;;
|
|
||||||
"2") txt[$i]="?" ;;
|
|
||||||
"?") txt[$i]="2" ;;
|
|
||||||
"4") txt[$i]="0" ;;
|
|
||||||
"0") txt[$i]="4" ;;
|
|
||||||
"/") txt[$i]="K" ;;
|
|
||||||
"K") txt[$i]="/" ;;
|
|
||||||
esac
|
|
||||||
txtofus+="${txt[$i]}"
|
|
||||||
done
|
|
||||||
echo "$txtofus" | rev
|
|
||||||
}
|
|
||||||
fix-key(){
|
fix-key(){
|
||||||
unset nomkey
|
unset nomkey
|
||||||
msg -b
|
msg -b
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user