From df2fe808229220c8beeb94f7f3d712aa85ef34f8 Mon Sep 17 00:00:00 2001 From: eooce <142894633+eooce@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:56:01 +0800 Subject: [PATCH] =?UTF-8?q?VPS=E4=B8=80=E9=94=AE=E5=9B=9B=E5=90=88?= =?UTF-8?q?=E4=B8=80=E8=84=9A=E6=9C=AC(reality+vmess-argo+hysteria2+tuic5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sing-box.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sing-box.sh b/sing-box.sh index e48e077..0678589 100644 --- a/sing-box.sh +++ b/sing-box.sh @@ -971,7 +971,7 @@ if [ ${check_singbox} -eq 0 ]; then sed -i "s/tuic:\/\/[0-9a-f\-]\{36\}/tuic:\/\/$new_uuid/" /etc/sing-box/url.txt isp=$(curl -s https://speed.cloudflare.com/meta | awk -F\" '{print $26"-"$18}' | sed -e 's/ /_/g') argodomain=$(grep -oE 'https://[[:alnum:]+\.-]+\.trycloudflare\.com' "${work_dir}/argo.log" | sed 's@https://@@') - VMESS="{ \"v\": \"2\", \"ps\": \"${isp}\", \"add\": \"www.visa.com.sg\", \"port\": \"443\", \"id\": \"${new_uuid}\", \"aid\": \"0\", \"scy\": \"none\", \"net\": \"ws\", \"type\": \"none\", \"host\": \"${argodomain}\", \"path\": \"/vmess?ed=2048\", \"tls\": \"tls\", \"sni\": \"${argodomain}\", \"alpn\": \"\", \"fp\": \"randomized\", \"allowlnsecure\": \"flase\"}" + VMESS="{ \"v\": \"2\", \"ps\": \"${isp}\", \"add\": \"www.visa.com.tw\", \"port\": \"443\", \"id\": \"${new_uuid}\", \"aid\": \"0\", \"scy\": \"none\", \"net\": \"ws\", \"type\": \"none\", \"host\": \"${argodomain}\", \"path\": \"/vmess-argo?ed=2048\", \"tls\": \"tls\", \"sni\": \"${argodomain}\", \"alpn\": \"\", \"fp\": \"\", \"allowlnsecure\": \"flase\"}" encoded_vmess=$(echo "$VMESS" | base64 -w0) sed -i -E '/vmess:\/\//{s@vmess://.*@vmess://'"$encoded_vmess"'@}' $client_dir base64 -w0 $client_dir > /etc/sing-box/sub.txt