This is a quick setup script to aid in installing/configuring important tools for
vulnerability research and exploitation.
I built this since I ssh into my homelab to use these tools (I hate GUIs) and I wanted
to have a quick setup script to get everything installed and configured in the case
I need to rebuild my environment.
- gdb
- gdb-gef
- gdb-peda
- gdb-peda-arm
- gdb-peda-intel
- gdb-pwndbg
- tmux
- r2ghidra
- radare2
- vim
- neovim
- INSTALLDIR="$HOME/gdb_quick"
- CONFIGDIR="$HOME/.config"
- USER_GDBINIT="$HOME/.gdbinit"
cd $HOME
git clone https://github.com/abaker2010/gdb-quick-setup.git
cd gdb-quick-setup
chmod +x setup.sh
./setup.sh
This will take a while to get everything installed and configured. A few of the tools are
built from source, this helps to ensure compatibility with each system this is used on.
Should take about 10-15 minutes to complete.
Preparing Terminal
------------------
Due to some of add-ons that were installed to work with splitting the terminal, you will
need to use the following TMUX command before running PWNDBG. This will create a new
tmux session called "pwndbg_session" and then you can run gdb with pwndbg.
Command
-------
tmux new -t pwndbg_session
Running PWNDBG
--------------
To run pwndbg run the following command:
Command
-------
gdb-pwndbg <binary>