fix: utls vulnerabilitie

This commit is contained in:
老王
2025-10-17 07:41:18 +08:00
committed by GitHub
parent 67461e83c3
commit 77fe8313fc
+3 -5
View File
@@ -3,7 +3,7 @@
# =========================
# 老王sing-box四合一安装脚本
# vless-version-reality|vmess-ws-tls(tunnel)|hysteria2|tuic5
# 最后更新时间: 2025.9.5
# 最后更新时间: 2025.10.17
# =========================
export LANG=en_US.UTF-8
@@ -145,7 +145,6 @@ get_realip() {
fi
}
# 处理防火墙
# 处理防火墙
allow_port() {
has_ufw=0
@@ -513,10 +512,10 @@ get_info() {
green "\nArgoDomain${purple}$argodomain${re}\n"
VMESS="{ \"v\": \"2\", \"ps\": \"${isp}\", \"add\": \"${CFIP}\", \"port\": \"${CFPORT}\", \"id\": \"${uuid}\", \"aid\": \"0\", \"scy\": \"none\", \"net\": \"ws\", \"type\": \"none\", \"host\": \"${argodomain}\", \"path\": \"/vmess-argo?ed=2560\", \"tls\": \"tls\", \"sni\": \"${argodomain}\", \"alpn\": \"\", \"fp\": \"chrome\", \"allowlnsecure\": \"flase\"}"
VMESS="{ \"v\": \"2\", \"ps\": \"${isp}\", \"add\": \"${CFIP}\", \"port\": \"${CFPORT}\", \"id\": \"${uuid}\", \"aid\": \"0\", \"scy\": \"none\", \"net\": \"ws\", \"type\": \"none\", \"host\": \"${argodomain}\", \"path\": \"/vmess-argo?ed=2560\", \"tls\": \"tls\", \"sni\": \"${argodomain}\", \"alpn\": \"\", \"fp\": \"firefox\", \"allowlnsecure\": \"flase\"}"
cat > ${work_dir}/url.txt <<EOF
vless://${uuid}@${server_ip}:${vless_port}?encryption=none&flow=xtls-rprx-vision&security=reality&sni=www.iij.ad.jp&fp=chrome&pbk=${public_key}&type=tcp&headerType=none#${isp}
vless://${uuid}@${server_ip}:${vless_port}?encryption=none&flow=xtls-rprx-vision&security=reality&sni=www.iij.ad.jp&fp=firefox&pbk=${public_key}&type=tcp&headerType=none#${isp}
vmess://$(echo "$VMESS" | base64 -w0)
@@ -1501,7 +1500,6 @@ while true; do
if [ ${check_singbox} -eq 0 ]; then
yellow "sing-box 已经安装!\n"
else
# fix_nginx
manage_packages install nginx jq tar openssl lsof coreutils
install_singbox
if command_exists systemctl; then