• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Source] How to Intercept Packets (Encrypted and Raw Packets)

Junior Spellweaver
Joined
Nov 21, 2006
Messages
137
Reaction score
39
There are many ways to do the same thing. This is an amatour way to intercept/manipulate game packets server-side.

Read it, understand it, make it better.

GitHub:

Code:
[COLOR=#C9D1D9]Small library built to intercept encrypted and non-encrypted recv() server-side GunBound Game packets.[/COLOR]

[LIST]
[*]Only received packets are intercepted.
[/LIST]
[COLOR=#C9D1D9]Functions:[/COLOR]

[LIST]
[*]void InstallHooks(): Apply the hooks at server memory addresses (addresses depends on server version).

[*]void Recv_EncryptedPackets(): Apply hook to intercept encrypted packets.

[*]void Recv_EncryptedFilter(): Receive the decrypted buffer from Recv_EncryptedPackets().

[*]void Recv_AllPackets(): Apply hook to intercept all non-encrypted packets.

[*]void Recv_AllPacketsFilter(): Receive the buffer from Recv_AllPackets().
[/LIST]
[COLOR=#C9D1D9]Tested with GunBound Server version 3 (WC and S2).[/COLOR]
[COLOR=#C9D1D9]Thanks to "ptr0x" for Assembly Analysis and "PEHook.h" Library.[/COLOR]
 
Back
Top