Skip to content

Instantly share code, notes, and snippets.

@birdg0
birdg0 / ridl.py
Created November 4, 2019 08:45 — forked from mkow/ridl.py
RIDL (Google Capture The Flag 2019 Finals solution)
#!/usr/bin/env python2
from pwn import *
import os
def split_by(data, cnt):
return [data[i : i+cnt] for i in xrange(0, len(data), cnt)]
context.log_level = 'error'
BEGIN_MARKER = '%$['
@birdg0
birdg0 / vm_escape_0ctf2017_finals.c
Created January 31, 2019 05:45 — forked from Eadom/vm_escape_0ctf2017_finals.c
Exploitation of vm_escape in 0CTF2017 Finals
// 0CTF 2017 finals
// vm_escape
// @Eadom
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/delay.h>
@birdg0
birdg0 / heapstorm2.py
Created April 2, 2018 03:30 — forked from Jackyxty/heapstorm2.py
Official solution for "Heap Storm II" of 0CTF/TCTF 2018 Quals
#!/usr/bin/env python
# encoding: utf-8
#flag{Seize it, control it, and exploit it. Welcome to the House of Storm.}
import itertools
from hashlib import sha256
from pwn import remote, process, ELF
from pwn import context
from pwn import p32,p64,u32,u64