mirror of
https://github.com/notscimmy/pplib
synced 2026-06-22 07:30:05 +00:00
Fix for Windows 7
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user