xct's notes
Search…
GDB

Pwntools

1
gdb.attach(p, '''
2
set follow-fork-mode child
3
continue
4
''')
Copied!

Quick Commands

  • disassemble: disas <addr>
  • continue: c
  • step: s
  • step over: n
  • finish function: fin
  • dump memory: x/20x <addr>
  • dump registers: info registers
  • dump call stack: bt
  • list breakpoints: info break
  • memory mapping: vmmap
  • heap infos: heap chunks,print main_arena
  • show GOT: print $_got()
  • pattern: pattern create <n>, pattern search <offset>
  • shellcode: shellcode search <arch>, shellcode get <num>
Last modified 10mo ago
Copy link