Skip to content

Files

Latest commit

68b1f3e · Feb 4, 2024

History

History
90 lines (69 loc) · 1.69 KB

README.md

File metadata and controls

90 lines (69 loc) · 1.69 KB

Overview

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. 

Layout For PWBDBG

gdb-quick-setup

Tools Installed

- gdb
- gdb-gef
- gdb-peda
- gdb-peda-arm
- gdb-peda-intel
- gdb-pwndbg
- tmux
- r2ghidra 
- radare2
- vim 
- neovim

Important Locations

- INSTALLDIR="$HOME/gdb_quick"
- CONFIGDIR="$HOME/.config"
- USER_GDBINIT="$HOME/.gdbinit"

Installation (Ubuntu 20.04)

cd $HOME
git clone https://github.com/abaker2010/gdb-quick-setup.git
cd gdb-quick-setup
chmod +x setup.sh
./setup.sh

Coffee Break ☕

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. 

Usage (PWNDBG)

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>