From ae6c98ceee6b715dff12c6ccc11a21241e15949b Mon Sep 17 00:00:00 2001 From: opsecko <115677770+opsecko@users.noreply.github.com> Date: Tue, 25 Oct 2022 14:55:14 +0800 Subject: [PATCH] fix win8 verison branch --- Source/Hamakaze/dsefix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Hamakaze/dsefix.cpp b/Source/Hamakaze/dsefix.cpp index 328b23d..7c4d379 100644 --- a/Source/Hamakaze/dsefix.cpp +++ b/Source/Hamakaze/dsefix.cpp @@ -311,7 +311,7 @@ ULONG_PTR KDUQueryCodeIntegrityVariableAddress( WCHAR szFullModuleName[MAX_PATH * 2]; - if (NtBuildNumber < NT_WIN8_BLUE) { + if (NtBuildNumber < NT_WIN8_RTM) { lpModuleName = (LPWSTR)NTOSKRNL_EXE; } else { @@ -342,7 +342,7 @@ ULONG_PTR KDUQueryCodeIntegrityVariableAddress( printf_s("[+] Module \"%ws\" loaded for pattern search\r\n", lpModuleName); - if (NtBuildNumber < NT_WIN8_BLUE) { + if (NtBuildNumber < NT_WIN8_RTM) { ntStatus = supQueryImageSize(mappedImageBase, &sizeOfImage);