From e3ce360ec9aa627415fda3c26ba252bdb4ddc326 Mon Sep 17 00:00:00 2001 From: binarymaster Date: Tue, 9 Dec 2014 01:51:29 +0300 Subject: [PATCH] OMG there are bugs --- src-x86-x64-Fusix/RDPWrap.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src-x86-x64-Fusix/RDPWrap.cpp b/src-x86-x64-Fusix/RDPWrap.cpp index 6012d42..951f9a9 100644 --- a/src-x86-x64-Fusix/RDPWrap.cpp +++ b/src-x86-x64-Fusix/RDPWrap.cpp @@ -716,10 +716,10 @@ void Hook() Bool = false; #ifdef _WIN64 SignPtr = (PLATFORM_DWORD)(TermSrvBase + INIReadDWordHex(IniFile, Sect, "LocalOnlyOffset.x64", 0)); - Bool = IniFile->GetVariableInSection(Sect, "LocalOnlyCode.x64", &Patch); + Bool = IniFile->GetVariableInSection(Sect, "LocalOnlyCode.x64", &Patch); // [!] returns patch name, not the patch itself #else SignPtr = (PLATFORM_DWORD)(TermSrvBase + INIReadDWordHex(IniFile, Sect, "LocalOnlyOffset.x86", 0)); - Bool = IniFile->GetVariableInSection(Sect, "LocalOnlyCode.x86", &Patch); + Bool = IniFile->GetVariableInSection(Sect, "LocalOnlyCode.x86", &Patch); // [!] returns patch name, not the patch itself #endif // Patch.Value is char // WriteProcessMemory uses LPCVOID lpBuffer, so... @@ -737,10 +737,10 @@ void Hook() Bool = false; #ifdef _WIN64 SignPtr = (PLATFORM_DWORD)(TermSrvBase + INIReadDWordHex(IniFile, Sect, "SingleUserOffset.x64", 0)); - Bool = IniFile->GetVariableInSection(Sect, "SingleUserCode.x64", &Patch); + Bool = IniFile->GetVariableInSection(Sect, "SingleUserCode.x64", &Patch); // [!] returns patch name, not the patch itself #else SignPtr = (PLATFORM_DWORD)(TermSrvBase + INIReadDWordHex(IniFile, Sect, "SingleUserOffset.x86", 0)); - Bool = IniFile->GetVariableInSection(Sect, "SingleUserCode.x86", &Patch); + Bool = IniFile->GetVariableInSection(Sect, "SingleUserCode.x86", &Patch); // [!] returns patch name, not the patch itself #endif // Patch.Value is char // WriteProcessMemory uses LPCVOID lpBuffer, so... @@ -758,10 +758,10 @@ void Hook() Bool = false; #ifdef _WIN64 SignPtr = (PLATFORM_DWORD)(TermSrvBase + INIReadDWordHex(IniFile, Sect, "DefPolicyOffset.x64", 0)); - Bool = IniFile->GetVariableInSection(Sect, "DefPolicyCode.x64", &Patch); + Bool = IniFile->GetVariableInSection(Sect, "DefPolicyCode.x64", &Patch); // [!] returns patch name, not the patch itself #else SignPtr = (PLATFORM_DWORD)(TermSrvBase + INIReadDWordHex(IniFile, Sect, "DefPolicyOffset.x86", 0)); - Bool = IniFile->GetVariableInSection(Sect, "DefPolicyCode.x86", &Patch); + Bool = IniFile->GetVariableInSection(Sect, "DefPolicyCode.x86", &Patch); // [!] returns patch name, not the patch itself #endif // Patch.Value is char // WriteProcessMemory uses LPCVOID lpBuffer, so...