Skip to content

Quick setup for Pwndbg + GEF + Peda + Tmux + Ghidra + Radare2

License

Notifications You must be signed in to change notification settings

abaker2010/gdb-quick-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Quick setup for Pwndbg + GEF + Peda + Tmux + Ghidra + Radare2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages