This is a PoC project to log all the packets running throught BDS by using trampoline hook.
- Build the DLL using cmake
- Start BDS
- Use your favourite injector to inject the DLL
- Ready to go
- Packet logs are also written to the files under
packet_logsdirectory.
- No hard-coded value used for packets, all dumped from memory at runtime
- Reliable and easy to use, no need to create a proxy
- Don't worry about encryption. Our best friend BDS will handle it for you. LOL.
There are two offsets used in this project, which can be located in offset.h.
-
fn_Packet_ReadExtendedis the relative address of functionPacket::readExtendedin modulebedrock_server.exe. Currently, the value is0x348C70. -
fn_NetworkHandler_SendInternalis the relative address of functionNetworkHandler::_sendInternalin modulebedrock_server.exe. Currently, the value is0x62B250.
The values can be easily updated from the Program Database File bedrock_server.pdb which comes along with the executable.
The following project is used for hooking. Many thanks to the contributers.

