Skip to content

Instantly share code, notes, and snippets.

Aaron Gallagher aagallag

Block or report user

Report or block aagallag

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aagallag
aagallag / babys_first_rop_pwner.py
Created Aug 12, 2018
Writeup for Baby's First ROP (OpenCTF)
View babys_first_rop_pwner.py
#!/usr/bin/env python2
from pwn import *
REMOTE = True
DBG = False
FNAME = './cracked_chall_binary'
HOST = '172.31.2.62'
PORT = '47802'
GADGETS_BASE = 0x601080
View pwnmegan35.py
#!/usr/bin/env python2
import base64
from pwn import *
HOST='megan35.stillhackinganyway.nl'
PORT='3535'
REMOTE=True
DEBUG=False
FNAME='./megan-35'
View cracktheflag.py
#!/usr/bin/env python2
def try_numb_part1(last2):
ecx = 0x1
while last2 > 0:
last2 = last2 - ecx
ecx += 2
if last2 != 0:
return False
@aagallag
aagallag / reflect.py
Last active Jul 12, 2016 — forked from huyng/reflect.py
A simple echo server to inspect http web requests
View reflect.py
#!/usr/bin/env python
# Reflects the requests from HTTP methods GET, POST, PUT, and DELETE
# Written by Nathan Hamiel (2010)
# Modifications by Aaron Gallagher (2016)
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from optparse import OptionParser
import datetime
LOG_FILE = 'log_%s.txt' % datetime.datetime.now().strftime('%Y-%m-%d_%H-%M-%S')
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

You can’t perform that action at this time.