Skip to main content

Python Exploit Development Assistance for GDB

Project description

PEDA - Python Exploit Development Assistance for GDB

Version: 1.0

Release: special public release, Black Hat USA 2012

  1. Credits
    • Huy Phan (pdah) for reviewing code

1. Introduction PEDA is a Python GDB script with many handy commands to help speed up exploit development process on Linux/Unix. It is also a framework for writing custom interactive Python GDB commands.

  1. Requirements
    • PEDA 1.0 is only support Linux

    • GDB 7.x

    • Python 2.6+

    • Utilities: nasm, readelf, objdump

  2. Installation
    • Download

      $ wget http://ropshell.com/peda/peda.tar.gz

    • Unpack to HOME directory

      $ tar zxvf peda.tar.gz

    • Append a line to ~/.gdbinit to load PEDA when GDB starts

      $ echo “source ~/peda/peda.py” >> ~/.gdbinit

  3. Usage
    • List of available commands:

      gdb-peda$ peda help

    • Search for some commands:

      gdb-peda$ apropos <keyword> gdb-peda$ help <keyword>

    • Get usage manual of specific command:

      gdb-peda$ phelp <command> gdb-peda$ help <command>

    • Get/set config option:

      gdb-peda$ pshow option gdb-peda$ pset option <name> <value>

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peda-1.0.tar.gz (52.0 kB view details)

Uploaded Source

File details

Details for the file peda-1.0.tar.gz.

File metadata

  • Download URL: peda-1.0.tar.gz
  • Upload date:
  • Size: 52.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for peda-1.0.tar.gz
Algorithm Hash digest
SHA256 a4566e50d39b982c3dae36382195a28f7628e4b3e38e9a2bb150ff3c3bd89640
MD5 c6708016a53a518a7b70677f18818150
BLAKE2b-256 2233597a45ae262cd0e757d724444804bf4622c43ad3eaa80bda47c3e704e4fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page