mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 06:43:14 +08:00
fix: ss2022 converter password decode error
This commit is contained in:
parent
3a8e7c8899
commit
0c354c748a
@ -280,10 +280,7 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) {
|
||||
)
|
||||
|
||||
if password, found = urlSS.User.Password(); !found {
|
||||
dcBuf, _ := enc.DecodeString(cipher)
|
||||
if !strings.Contains(string(dcBuf), "2022-blake3") {
|
||||
dcBuf, _ = encRaw.DecodeString(cipher)
|
||||
}
|
||||
dcBuf, _ := encRaw.DecodeString(cipher)
|
||||
cipher, password, found = strings.Cut(string(dcBuf), ":")
|
||||
if !found {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user