The problem
Currently all of the packets are just hardcoded and modified using offsets.
This leads to all sorts of issues and a lot of false-negatives (when the library auth methods should have worked, but the developer made a mistake in calculating the offset, for example).
Solution
All packets should be represented as classes with real properties (like session id, blob data, digest etc.) instead of raw data bytes.
Then the objects should be serialized from the ground up instead of modifying dumped packets.
The problem
Currently all of the packets are just hardcoded and modified using offsets.
This leads to all sorts of issues and a lot of false-negatives (when the library auth methods should have worked, but the developer made a mistake in calculating the offset, for example).
Solution
All packets should be represented as classes with real properties (like session id, blob data, digest etc.) instead of raw data bytes.
Then the objects should be serialized from the ground up instead of modifying dumped packets.