Go to file
Zach Riggle b6ac73a0e7 More fixes 2015-04-13 15:51:20 -04:00
caps Add screenshots, better readme 2015-03-11 03:24:44 -07:00
pwndbg More fixes 2015-04-13 15:51:20 -04:00
LICENSE.md license 2015-03-11 03:29:11 -07:00
README.md following 2015-03-11 03:28:43 -07:00
gdbinit.py Rename module to pwndbg 2015-03-09 19:55:33 -07:00
ida_script.py IDA script for the server side 2015-03-14 12:00:50 -07:00

README.md

pwndbg

A PEDA replacement. In the spirit of our good friend windbg, pwndbg is pronounced pwnd-bag.

  • Speed
  • Resiliency
  • Clean code

Best supported on Ubuntu 14.04 with default gdb or gdb-multiarch (e.g. with Python3).

Installation

Pretty easy.

  1. Clone the repo: git clone https://github.com/zachriggle/pwndbg
  2. Add to ~/.gdbinit: source ~/pwndbg/gdbinit.py

Features

Does most things that PEDA does. Doesn't do things that PEDA does that pwntools or binjitsu (my fork of pwntools) do better.

Also has a basic windbg compat layer for e.g. dd, eb, da, dps. Note that gdb doesn't circumvent page permissions like windbg does, so e.g. eb eip 90, much to my chargrin.

Screenshots

Here's a screenshot of pwndbg working on an aarch64 binary running under qemu-user.

a

Here's a screenshot of PEDA. That it's aarch64 doesn't matter -- it chokes in the same way for everything qemu-user.

c

And here's a screenshot of GDB's built-in commands failing horribly. Note that while, yes, it gives output -- the addresses it does give are all wrong, and are just file offsets.

c