Commit 01c7007f authored by Him188's avatar Him188

Add debugging filter output

parent d5dd8654
...@@ -93,6 +93,8 @@ fun main() { ...@@ -93,6 +93,8 @@ fun main() {
listenDevice(localIp, it) listenDevice(localIp, it)
} }
println("Ready perfectly") println("Ready perfectly")
println("Using sessionKey = ${sessionKey.value.toUHexString()}")
println("Filter QQ = ${qq.toLong()}")
} }
/** /**
...@@ -116,7 +118,7 @@ object PacketDebugger { ...@@ -116,7 +118,7 @@ object PacketDebugger {
* 7. 运行完 `mov eax,dword ptr ss:[ebp+10]` * 7. 运行完 `mov eax,dword ptr ss:[ebp+10]`
* 8. 查看内存, `eax` 到 `eax+10` 的 16 字节就是 `sessionKey` * 8. 查看内存, `eax` 到 `eax+10` 的 16 字节就是 `sessionKey`
*/ */
val sessionKey: SessionKey = SessionKey("06 23 F8 09 0D 2D 37 BE 2E FE 90 3A 7D E5 8F B1".hexToBytes()) val sessionKey: SessionKey = SessionKey("BF 65 3E 32 F3 74 03 C2 3D A3 4C 15 20 CE 55 2A".hexToBytes())
const val qq: UInt = 1040400290u const val qq: UInt = 1040400290u
val IgnoredPacketIdList: List<PacketId> = listOf( val IgnoredPacketIdList: List<PacketId> = listOf(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment