Skip to content

Commit

Permalink
[BUGFIX] Fixed disabled patching for 32-bit version
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Feb 7, 2025
1 parent 78df8f1 commit 62224a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions run_pe/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@ int _tmain(int argc, LPTSTR argv[])
{
LPTSTR payload_path = NULL;
LPTSTR target_path = NULL;
#ifdef _WIN64
if (isWindows1124H2OrLater()) {
std::cout << "WARNING: Executing RunPE on Windows11 24H2 or above requires patching NTDLL.ZwQueryVirtualMemory\n";
g_PatchRequired = true;
}
#endif //_WIN64
if (argc < 3) {
std::tcout << TEXT("[ run_pe v") << version << TEXT(" ]\n")
<< TEXT("Args: <payload_path> <target_path>\n");
Expand Down

0 comments on commit 62224a8

Please sign in to comment.