You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quintin edited this page Mar 28, 2023
·
2 revisions
GDB (The GNU Project Debugger) is a debugging tool that serves a dual purpose as a dynamic analysis tool. It lets you run a target process and step through its instructions one at a time.
I highly recommend using GEF or pwndbg instead of stock GDB. It displays much more information by default (registers, stack, heap, etc.). It is also very easy to install.
GEF Install
# via the install script## using curl
$ bash -c "$(curl -fsSL https://gef.blah.cat/sh)"## using wget
$ bash -c "$(wget https://gef.blah.cat/sh -O -)"# or manually
$ wget -O ~/.gdbinit-gef.py -q https://gef.blah.cat/py
$ echosource~/.gdbinit-gef.py >>~/.gdbinit
pwngdb Install
git clone https://github.com/pwndbg/pwndbg
cd pwndbg
./setup.sh