I have 2 questions.
I know that packets are encrypted. I found address of send in engine, not ws2 send but engineSend func that takes data before it's encrypted.
I am able to use it but i can't hook it because of memory manipulation detection. Mid function hook doesn't work also, so i guess there has to be somekind of checksum of memory part.
I hooked IAT send function, but sniffed sent data is encrypted. I know that I am sending packets to server because when I use engineSend then I see sniffed packets client->server, but they are always different so they has to be encrypted.
This is how I'm finding the address and SendEngine is just using their function.
When i for example write
I see in sniffer that it was sent but nothing happens in game. Am i doing something wrong?
I know that packets are encrypted. I found address of send in engine, not ws2 send but engineSend func that takes data before it's encrypted.
I am able to use it but i can't hook it because of memory manipulation detection. Mid function hook doesn't work also, so i guess there has to be somekind of checksum of memory part.
I hooked IAT send function, but sniffed sent data is encrypted. I know that I am sending packets to server because when I use engineSend then I see sniffed packets client->server, but they are always different so they has to be encrypted.
Code:
typedef int (__stdcall *Send_org)(DWORD type,LPCSTR szFormat,...);
DWORD dwEngineSendA = CMemory::dwFindPattern(0x401000,0x2bc000,(BYTE*)"\x55\x8B\xEC\x83\xEC\x18\x83\x3D\x00\x00\x00\x00\x00\x00\x00\x33\xC0","xxxxxxxx???????xx");
sendAdd = CMemory::dwFindPattern(dwEngineSendA+1,0x2bc000,(BYTE*)"\x55\x8B\xEC\x83\xEC\x18\x83\x3D\x00\x00\x00\x00\x00\x00\x00\x33\xC0","xxxxxxxx???????xx");
LogTextBox("[Send Address]: 0x%x",sendAdd);
void KalTools::SendEngine(DWORD Header,LPCSTR szFormat,...)
{
((Send_org)sendAdd)(Header,szFormat);
}
When i for example write
Code:
KalTools::SendEngine(0x3d,"db",pid,14);