Skip to content

Instantly share code, notes, and snippets.

@bruce30262
bruce30262 / exp_heaven.py
Last active October 20, 2017 05:44
Solutions for HeapHeaven, HeapsOfPrint & HouseOfScepticism from Hack.lu 2017 CTF
#!/usr/bin/env python
# HeapHeaven
# solved by bruce30262
from pwn import *
import subprocess
import sys
import time
@saelo
saelo / pwn.js
Created May 6, 2018 16:12
Exploit for the "roll a d8" challenge of PlaidCTF 2018
//
// Quick and dirty exploit for the "roll a d8" challenge of PlaidCTF 2018.
// N-day exploit for https://chromium.googlesource.com/v8/v8/+/b5da57a06de8791693c248b7aafc734861a3785d
//
// Scroll down do "BEGIN EXPLOIT" to skip the utility functions.
//
// Copyright (c) 2018 Samuel Groß
//
//
@N4NU
N4NU / baby_nn.py
Last active October 9, 2018 18:21
SECCON Beginners NEXT 2018 Reversing Solver
import struct
import numpy as np
d = open('./baby_nn', 'rb').read()
def inv_sigmoid(x):
return np.log(x / (1 - x))
biases_info = [(0x0A8A0, 0x28), (0x07560, 0x28), (0x04220, 0x28), (0x00EE0, 0x28)]