Hey hello, someone know how to decrypt wow packets?
I have setup a tiny sniffer in C with winsock API, now i try to decrypt the session key & packets but the algorythm i use still have some bugs and i dunno why.
The algorythm i use to decrypt packets is the one in Mangos source so it is normally valid.
I use this kind of algorythm for decrypt server->client session key but the ssk computed seem not valid:
Code:
if(cpacket < 20)
{
encrypted[c] = (twobytes&0xFF00)>>8;
plain[c] = (datalen&0xFF)
c+=6;
c%=40;
cpacket++;
}
else
{
for(int i=0;i<40;i++)
{
key[c] = plain[c]^encrypted[c];
c+=6;
c%=40;
}
}
if someone have the solution...