diff --git a/pkg/wechat/wechat.go b/pkg/wechat/wechat.go index 1e67b55..0f1c38a 100644 --- a/pkg/wechat/wechat.go +++ b/pkg/wechat/wechat.go @@ -716,7 +716,7 @@ func GetWeChatKey(info *WeChatInfo) string { for { index := hasDeviceSybmol(buffer[offset:]) if index == -1 { - log.Println("hasDeviceSybmolxxxx") + log.Println("has not DeviceSybmol") break } fmt.Printf("hasDeviceSybmol: 0x%X\n", index) @@ -738,6 +738,7 @@ func GetWeChatKey(info *WeChatInfo) string { func hasDeviceSybmol(buffer []byte) int { sybmols := [...][]byte{ {'a', 'n', 'd', 'r', 'o', 'i', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00}, + {'p', 'a', 'd', '-', 'a', 'n', 'd', 'r', 'o', 'i', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00}, {'i', 'p', 'h', 'o', 'n', 'e', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00}, {'i', 'p', 'a', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00}, }