mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-02-25 22:38:10 +01:00
Removed erroneous VirtualProtect
This commit is contained in:
parent
a5faef1d1d
commit
312fa7f7fc
@ -7968,7 +7968,7 @@ void InjectShellExperienceHost()
|
|||||||
if (section->SizeOfRawData && !bTwice)
|
if (section->SizeOfRawData && !bTwice)
|
||||||
{
|
{
|
||||||
DWORD dwOldProtect;
|
DWORD dwOldProtect;
|
||||||
VirtualProtect(hQA + section->VirtualAddress, section->SizeOfRawData, PAGE_EXECUTE_READWRITE, &dwOldProtect);
|
//VirtualProtect(hQA + section->VirtualAddress, section->SizeOfRawData, PAGE_EXECUTE_READWRITE, &dwOldProtect);
|
||||||
char* pCandidate = NULL;
|
char* pCandidate = NULL;
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
@ -7999,7 +7999,7 @@ void InjectShellExperienceHost()
|
|||||||
}
|
}
|
||||||
pCandidate += sizeof(seh_pattern1);
|
pCandidate += sizeof(seh_pattern1);
|
||||||
}
|
}
|
||||||
VirtualProtect(hQA + section->VirtualAddress, section->SizeOfRawData, dwOldProtect, &dwOldProtect);
|
//VirtualProtect(hQA + section->VirtualAddress, section->SizeOfRawData, dwOldProtect, &dwOldProtect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
section++;
|
section++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user