From c8b859950a69a9e3b042c9efb0ff547055066c10 Mon Sep 17 00:00:00 2001 From: thefLink Date: Sun, 14 May 2023 20:48:42 +0200 Subject: [PATCH] Update Detectors.cpp --- Hunt-Weird-Imageloads/Detectors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hunt-Weird-Imageloads/Detectors.cpp b/Hunt-Weird-Imageloads/Detectors.cpp index 8481ffa..8f50112 100644 --- a/Hunt-Weird-Imageloads/Detectors.cpp +++ b/Hunt-Weird-Imageloads/Detectors.cpp @@ -46,7 +46,7 @@ namespace Detectors { if ( mbi.Type != MEM_PRIVATE ) continue; - if ( mbi.Protect == PAGE_EXECUTE_READ ) { + if ( mbi.Protect == PAGE_EXECUTE_READWRITE ) { Helpers::ModuleNameFromAddress ( hProcess, NULL, processName ); @@ -147,4 +147,4 @@ namespace Detectors { } -} \ No newline at end of file +}