mirror of
https://github.com/XTLS/REALITY.git
synced 2025-08-22 14:38:35 +00:00
Fix bug
This commit is contained in:
parent
cb47a5839c
commit
0d942695e3
@ -50,7 +50,7 @@ func DetectPostHandshakeRecordsLens(config *Config, fingerprint string) map[stri
|
||||
}
|
||||
uConn := utls.UClient(detectConn, &utls.Config{
|
||||
ServerName: sni,
|
||||
}, utls.HelloChrome_Auto)
|
||||
}, *ModernFingerprints[fingerprint])
|
||||
if err = uConn.Handshake(); err != nil {
|
||||
continue
|
||||
}
|
||||
@ -115,8 +115,8 @@ var ModernFingerprints = map[string]*utls.ClientHelloID{
|
||||
"hellosafari_16_0": &utls.HelloSafari_16_0,
|
||||
"hello360_11_0": &utls.Hello360_11_0,
|
||||
"helloqq_11_1": &utls.HelloQQ_11_1,
|
||||
// "hellogolang": &utls.HelloGolang,
|
||||
// "hellorandomized": &utls.HelloRandomized,
|
||||
// "hellorandomizedalpn": &utls.HelloRandomizedALPN,
|
||||
// "hellorandomizednoalpn": &utls.HelloRandomizedNoALPN,
|
||||
"hellogolang": &utls.HelloGolang,
|
||||
"hellorandomized": &utls.HelloRandomized,
|
||||
"hellorandomizedalpn": &utls.HelloRandomizedALPN,
|
||||
"hellorandomizednoalpn": &utls.HelloRandomizedNoALPN,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user