Skip to main content

A cross platform tool to work with PE files from the command line.

Project description


A cross platform tool to work with PE files from the command line.


  • Using pip
$ pip install readpe
  • From source
$ git clone
$ cd readpe
$ python install


usage: readpe <pefile> <options>

Display information about the contents of PE files

positional arguments:
  pefile                 PE file path

optional arguments:
  -H, --all-headers      Display all PE headers
  -d, --dos-header       Display the PE DOS header
  -h, --file-header      Display the PE File header
  -o, --optional-header  Display the PE Optional header
  -D, --dirs             Display the PE Data Directories
  -i, --imports          Display imported functions
  -e, --exports          Display exported functions
  -s, --sections         Display all sections headers
  -r, --resources        Display all resources
  -x, --extract          Extract resources
  -t TYPE, --type TYPE   Resource type to dump
  -n NAME, --name NAME   Resource name to dump
  --help                 Display this help

Example: readpe test.exe -d -h -o


Copyright (c) 2020 N1ght-W0lf - Released under MIT License

Project details

Download files

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

Files for readpe, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size readpe-0.3.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page