Skip to content

Instantly share code, notes, and snippets.

@withzombies

withzombies/334x-example7.py Secret

Last active Jun 3, 2016
Embed
What would you like to do?
buffer_frame = main.get_parameter_at(bv.arch, read_buf.address, None, 0)
# The canary is between the buffer and the saved stack registers
buffer_size = (buffer_frame.offset - canary_frame.offset) * -1
print "Buffer Size: {0} 0x{0:x}".format(buffer_size)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.