We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8c0e6c commit f1a32a3Copy full SHA for f1a32a3
pkg/wechat/wechat.go
@@ -716,7 +716,7 @@ func GetWeChatKey(info *WeChatInfo) string {
716
for {
717
index := hasDeviceSybmol(buffer[offset:])
718
if index == -1 {
719
- log.Println("hasDeviceSybmolxxxx")
+ log.Println("has not DeviceSybmol")
720
break
721
}
722
fmt.Printf("hasDeviceSybmol: 0x%X\n", index)
@@ -738,6 +738,7 @@ func GetWeChatKey(info *WeChatInfo) string {
738
func hasDeviceSybmol(buffer []byte) int {
739
sybmols := [...][]byte{
740
{'a', 'n', 'd', 'r', 'o', 'i', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00},
741
+ {'p', 'a', 'd', '-', 'a', 'n', 'd', 'r', 'o', 'i', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00},
742
{'i', 'p', 'h', 'o', 'n', 'e', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00},
743
{'i', 'p', 'a', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00},
744
0 commit comments