hans henrik
02-16-2015, 07:13 PM
(first, sorry if i posted in wrong board, i don't know where this fits)
i am playing an OT with a custom 772 client,
i suspect they changed the XTEA key, and i'd like to verify this, should be easy by referencing the original client's XTEA key with the custom client's,
but where is this key stored?
as far as assembly goes, i am useless, but according to PEiD's CryptoAnalzyer, there's a
"2 DWORDs of 32-round TEAN: Negative delta and precomputed initial sum for decryption (32*Delta) :: 00108E12 "
and following to offset 00108E12 , the first 16 bytes are:
2037EFC6BF08000000EB038D49008BDA
(which also, according to Ollydbg1.10 generates invalid opcodes)
so the questions:
is, is that the 7.72 XTEA key? (and if im wrong, what is it?)
does the XTEA key change between tibia versions?
how can i find the xtea key? (just my theory that i could write something in chat, trace where the text is copied to, find out where the text turns to seemingly garbage, which should be in the encryption function, and somewhere in that encryption function is a reference to the xtea key... but that's beyond my skills with the debugger.. )
i am playing an OT with a custom 772 client,
i suspect they changed the XTEA key, and i'd like to verify this, should be easy by referencing the original client's XTEA key with the custom client's,
but where is this key stored?
as far as assembly goes, i am useless, but according to PEiD's CryptoAnalzyer, there's a
"2 DWORDs of 32-round TEAN: Negative delta and precomputed initial sum for decryption (32*Delta) :: 00108E12 "
and following to offset 00108E12 , the first 16 bytes are:
2037EFC6BF08000000EB038D49008BDA
(which also, according to Ollydbg1.10 generates invalid opcodes)
so the questions:
is, is that the 7.72 XTEA key? (and if im wrong, what is it?)
does the XTEA key change between tibia versions?
how can i find the xtea key? (just my theory that i could write something in chat, trace where the text is copied to, find out where the text turns to seemingly garbage, which should be in the encryption function, and somewhere in that encryption function is a reference to the xtea key... but that's beyond my skills with the debugger.. )