Skip to content

Commit 62224a8

Browse files
committed
[BUGFIX] Fixed disabled patching for 32-bit version
1 parent 78df8f1 commit 62224a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

run_pe/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ int _tmain(int argc, LPTSTR argv[])
3737
{
3838
LPTSTR payload_path = NULL;
3939
LPTSTR target_path = NULL;
40-
#ifdef _WIN64
4140
if (isWindows1124H2OrLater()) {
4241
std::cout << "WARNING: Executing RunPE on Windows11 24H2 or above requires patching NTDLL.ZwQueryVirtualMemory\n";
4342
g_PatchRequired = true;
4443
}
45-
#endif //_WIN64
4644
if (argc < 3) {
4745
std::tcout << TEXT("[ run_pe v") << version << TEXT(" ]\n")
4846
<< TEXT("Args: <payload_path> <target_path>\n");

0 commit comments

Comments
 (0)