Created
October 3, 2017 09:22
-
-
Save xufuou/73efe9a4548f513907d59696e129564c 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
# Commands to use in GDB/PEDA | |
b <func_name> - classic breakpoint | |
b *0x123123 - break at address 0x123123 | |
pdisas - better disass | |
vmmap - print mapped memory | |
pattern create 2000 - generate cyclic pattern | |
telescope 200 - pretty print the stack, 200 ahead | |
context all - print registers, stack, code, everything good | |
xormem - xor a memory region with a key | |
procinfo - display various info from /proc/pid/ | |
find “/bin/sh” libc - look for /bin/sh in libc | |
find 0xdeadbeef all - look for 0xdeadbeef in all mapped memory | |
find “..\x04\x08” 0x08048000 0x08049000 - regex search a memory region | |
dumprop - show ROP gadgets | |
checksec - list security settings of binary | |
readelf - get information about the elf file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment