Skip to content

Instantly share code, notes, and snippets.

@P4N74
P4N74 / cpf_exploit.c
Created Jul 3, 2019 — forked from setuid0x0/cpf_exploit.c
WCTF 2018 cpf challenge exploit
View cpf_exploit.c
#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>
View keybase.md

Keybase proof

I hereby claim:

  • I am p4n74 on github.
  • I am p4n74 (https://keybase.io/p4n74) on keybase.
  • I have a public key ASC_fYnV8Zj_AfGFaL_kztokTSoD_zKOTQvqxmllzeNaxQo

To claim this, I am signing this object: