Hello guys,
I have question about encryption
Aparently decrypt/encrypt doesn't work (with this key?), so I was thinking, that you might help me out . I used encryption from SyronX's source (BakaBug's).
Image describes: Hook, Nothing, Decrypted, Encrypted again
[Only registered and activated users can see links. Click Here To Register...]
By the way, wouldn't be easier to hook HackShield functions? The one which is called to check if functions aren't hooked and the second one, which is called when server asks for CRC(or some hash I dunno) of specified engine functions.... Of course clientless wouldn't work....
I have question about encryption
Aparently decrypt/encrypt doesn't work (with this key?), so I was thinking, that you might help me out . I used encryption from SyronX's source (BakaBug's).
Image describes: Hook, Nothing, Decrypted, Encrypted again
[Only registered and activated users can see links. Click Here To Register...]
Code:
//...
//Declarations:
//DWORD SendPacketMain = SearchPattern("55 8B EC 83 EC 18 83 3D x x x x 00 74 07 33 C0 E9 x x x x 8A 45 08",SendPacketMain_+1,0x007FFFFF);
//BYTE *TKey = (BYTE*)*((DWORD*)(PacketSendMain+0xCA));
//BYTE TableKey;
//BYTE Header;
//BYTE tmp;
//....
//INSIDE FUNCTION
TableKey = ((*TKey)-1) & 0x3F;
Header = buf[2];
DecryptTable(TableKey,(unsigned char *)&Header,1);
DecryptTable(TableKey,(unsigned char*)buf+2,nSentBytes-2);
DecryptPacketAES((char*)buf);
//.....
EncryptPacketAES((char*)buf);
EncryptTable(TableKey,(unsigned char*)buf+2,nSentBytes-2);
//....