Update URI

This commit is contained in:
Whispering Wind
2024-06-17 08:55:41 +03:30
committed by GitHub
parent 6cde762a0d
commit 0505ad6c3a

View File

@ -111,8 +111,8 @@ show_uri() {
IP6=$(curl -s -6 ip.sb)
# Construct URI
URI="hy2://$username:$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#$username-IPv4"
URI6="hy2://$username:$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#$username-IPv6"
URI="hy2://$username%3A$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#$username-IPv4"
URI6="hy2://$username%3A$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#$username-IPv6"
cols=$(tput cols)
rows=$(tput lines)