Originally Posted by
frikos
Thanks, unfortunately it does not work for me, SessionKey results in 20x 0 :/
Can someone confirm that (also for the european client if that makes a difference)?
If it is correct, I certainly did something wrong :yuck:
Weird. Here's the read session key from wow function from my old command line packet logger, which I updated a few weeks ago for the new patch, so it should work. It's in python but that is pseudo-code-y enough for you to follow the logic.
Code:
def getKey():
proc = openWoWProcess()
if proc == 0:
print 'proc = 0 !'
return None
g_clientConnection = ReadLong(proc, 0x011CB310)
if g_clientConnection == 0:
print 'g_clientConnection = 0!'
return None
netClientPtr = ReadLong(proc, g_clientConnection + 0x2824)
if netClientPtr == 0:
print 'netClientPtr = 0!'
return None
inited = ReadBytes(proc, netClientPtr + 0x118, 1)
if not inited:
print 'key not initd!'
return None
key = ReadBytes(proc, netClientPtr + 0x11f, 20)
for x in range(len(key)):
if ord(key[x]) != 0:
print 'key = ', repr(key)
return key
print 'key was 0 trying again later.'
return None