Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CryptoKey Packet #328

Open
theFoof opened this issue Jul 10, 2021 · 0 comments
Open

CryptoKey Packet #328

theFoof opened this issue Jul 10, 2021 · 0 comments

Comments

@theFoof
Copy link

theFoof commented Jul 10, 2021

A friend asked me to poke around the client to look into packets for this game and I found a small discrepancy with the "CryptoKey (0x22)" packet that may be of interest.

The client disassembly shows the data being read as a string (4 byte size followed by string text) followed by an int16 (build according to your code)

Here is a sample packet, 0x22 opcode followed by the packet data.

` 0000: 00 0D 22 07 00 00 00 31 2E 31 32 37 64 00 7D 05 .."....1.127d.}...
After these elements are read the client appears to generate some sort of random key, I'm assuming for crypto.

However if you send the same data above as packet 0x23 it saves the string/build without generating the key. I'm not sure if this string/build is useful but it might make getting around crypto simpler.

EDIT: I made this post late last night but just to add, there is actually 1 byte (bool) before the string32 in the 0x23 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@dol-leodagan @theFoof and others