Merge pull request #38 from opsecko/master

fix win8 verison branch
This commit is contained in:
hfiref0x 2022-10-25 19:13:38 +07:00 committed by GitHub
commit 8b4ef12ba7
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);