We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33f3c79 commit b26ebc8Copy full SHA for b26ebc8
1 file changed
mtproxymax.sh
@@ -1067,9 +1067,13 @@ domain_to_hex() {
1067
# Build the full FakeTLS secret for sharing (ee + raw_secret + domain_hex)
1068
build_faketls_secret() {
1069
local raw_secret="$1" domain="${2:-$PROXY_DOMAIN}"
1070
- local domain_hex
1071
- domain_hex=$(domain_to_hex "$domain")
1072
- echo "ee${raw_secret}${domain_hex}"
+ if [ "${MASKING_ENABLED:-true}" = "false" ]; then
+ echo "dd${raw_secret}"
+ else
1073
+ local domain_hex
1074
+ domain_hex=$(domain_to_hex "$domain")
1075
+ echo "ee${raw_secret}${domain_hex}"
1076
+ fi
1077
}
1078
1079
# Generate telemt config.toml
0 commit comments