feat(脚本): 增加anytls展示

master
mack-a 2025-08-16 17:02:36 +08:00
parent e1ff4d189d
commit adae359ca4
1 changed files with 3 additions and 0 deletions

View File

@ -5545,6 +5545,9 @@ EOF
elif [[ "${type}" == "anytls" ]]; then
echoContent yellow " ---> AnyTLS"
echoContent yellow " ---> 格式化明文(AnyTLS)"
echoContent green "协议类型:anytls地址:${currentHost},端口:${singBoxAnyTLSPort}用户ID:${id},传输方式:tcp账户名:${email}\n"
echoContent green " anytls://${id}@${currentHost}:${singBoxAnyTLSPort}?peer=${currentHost}&insecure=0&sni=${currentHost}#${email}\n"
cat <<EOF >>"/etc/v2ray-agent/subscribe_local/default/${user}"
anytls://${id}@${currentHost}:${singBoxAnyTLSPort}?peer=${currentHost}&insecure=0&sni=${currentHost}#${email}