Skip to content

Instantly share code, notes, and snippets.

View psrok1's full-sized avatar
🦆

Paweł Srokosz psrok1

🦆
View GitHub Profile
@psrok1
psrok1 / naughtyc0w.c
Last active October 26, 2016 00:20 — forked from mak/naughtyc0w.c
CVE-2016-5195 with dirty_writeback_centisecs setup
#include <stdio.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <pthread.h>
#include <unistd.h>
#include <sys/stat.h>
#include <string.h>
#include <sys/uio.h>
#include <sys/wait.h>