Created
January 29, 2017 10:28
-
-
Save famasoon/5bf48c39063a9ac29ada31387f66cd71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
p32 = lambda x: struct.pack('<I', x) | |
gadget = lambda x: p32(libc_base + x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment