-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotocol.go
40 lines (37 loc) · 819 Bytes
/
protocol.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package SakanaBot
var (
IPad = Protocol{
ApkId: "com.tencent.minihd.qq",
AppId: 16,
SubAppId: 537097188,
Version: "8.8.35",
ApkSign: []byte{0xAA, 0x39, 0x78, 0xE0, 0x1F, 0xD9, 0x6F, 0xF9, 0x91, 0x4A, 0x66, 0x9E, 0x18, 0x64, 0x74, 0xC7},
BuildTime: 1595836208,
SdkVersion: "6.0.0.2433",
SsoVersion: 12,
Bitmap: 150470524,
MainSigmap: 1970400,
SubSigmap: 0x10400,
Name: "IPad",
}
ProtocolMap = map[string]*Protocol{
"IPad": &IPad,
}
)
type Protocol struct {
ApkId string
AppId uint32
SubAppId uint32
Version string
ApkSign []byte
BuildTime uint32
SdkVersion string
SsoVersion uint32
Bitmap uint32
MainSigmap uint32
SubSigmap uint32
Name string
}
func getProtocol(name string) *Protocol {
return ProtocolMap[name]
}