mirror of
https://github.com/stascorp/rdpwrap.git
synced 2024-11-27 16:07:23 +00:00
Bug fix
Wrong offset was specified (typo) Not affected on release, because Delphi version is used for x86 platform
This commit is contained in:
parent
136f4c7de8
commit
1a9d9e7fea
@ -2315,7 +2315,7 @@ void Hook()
|
|||||||
SignPtr = (PLATFORM_DWORD)(TermSrvBase + 0x1F6A1);
|
SignPtr = (PLATFORM_DWORD)(TermSrvBase + 0x1F6A1);
|
||||||
WriteProcessMemory(GetCurrentProcess(), (LPVOID)SignPtr, &CDefPolicy_Query_eax_rcx, sizeof(CDefPolicy_Query_eax_rcx), &bw);
|
WriteProcessMemory(GetCurrentProcess(), (LPVOID)SignPtr, &CDefPolicy_Query_eax_rcx, sizeof(CDefPolicy_Query_eax_rcx), &bw);
|
||||||
#else
|
#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);
|
WriteProcessMemory(GetCurrentProcess(), (LPVOID)SignPtr, &CDefPolicy_Query_eax_ecx, sizeof(CDefPolicy_Query_eax_ecx), &bw);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user