Skip to content

Commit

Permalink
[FEATURE] Display the information about the required patch only for 6…
Browse files Browse the repository at this point in the history
…4-bit
  • Loading branch information
hasherezade committed Feb 5, 2025
1 parent 65b1772 commit 0423f86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run_pe/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ 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 0423f86

Please sign in to comment.