Some questions about Anti WPE

Rob

New member
Messages
1
Points
0
Hello there.

I have some doubts about my client (2012 04 10). I have read this:

Yes,
the 2012-04 clients (and possibly a few others) have their keys chosen
in such a way that makes the client effectively always use the same
encryption key for each sent packet (thus allowing you to replay a
packet as much as you want in WPE.)

You can either use a newer
client, or edit the keys yourself in both client (you'll have to
hex-edit it) and server (edit the appropriate packetKeys line for your
PACKETVER in src/map/packets.h and recompile.)
My questions are:

1. can 3 keys be random numbers and letters?

2. when I am editing my packets.h, do I have to re-write the same keys my .exe is using?

3. can I use xvi32 to edit the keys of my .exe?

Thanks in advanced.

 
Last edited by a moderator:
Not a specialist on this (in fact, haven't still tried to use it
default_tongue.png
) but after some quick observations:

  1. The keys on the emulator are on an 8-digit hexadecimal number. An hexadecimal literal string starts with 0x and continues with the digits in the language Hercules uses for its emulator. Anyways, try to make your keys not higher than 0x7FFFFFFF since that is the limit to an unsigned integer range.
  2. That's a way of doing that. By my observations you can #define your three obfuscation keys as OBFUSCATIONKEY1, OBFUSCATIONKEY2 and OBFUSCATIONKEY3 and then the emulator will consider that your keys are these.
  3. Yeah, you can, but then you'll need to know the memory addresses of the client you'll have to edit for doing so. Newer client diffing tools such as NEMO (check client-side releases) can automagically do that for you.

 
Back
Top