fix win8 verison branch

This commit is contained in:
opsecko 2022-10-25 14:55:14 +08:00 committed by GitHub
parent f0e6fc07e6
commit ae6c98ceee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);