Wrong offset was specified (typo)
Not affected on release, because Delphi version is used for x86 platform
This commit is contained in:
binarymaster 2014-11-20 22:31:59 +03:00
parent 136f4c7de8
commit 1a9d9e7fea

View File

@ -2315,7 +2315,7 @@ void Hook()
SignPtr = (PLATFORM_DWORD)(TermSrvBase + 0x1F6A1);
WriteProcessMemory(GetCurrentProcess(), (LPVOID)SignPtr, &CDefPolicy_Query_eax_rcx, sizeof(CDefPolicy_Query_eax_rcx), &bw);
#else
SignPtr = (PLATFORM_DWORD)(TermSrvBase + 0x16115);
SignPtr = (PLATFORM_DWORD)(TermSrvBase + 0x37529);
WriteProcessMemory(GetCurrentProcess(), (LPVOID)SignPtr, &CDefPolicy_Query_eax_ecx, sizeof(CDefPolicy_Query_eax_ecx), &bw);
#endif