Skip to main content

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

Project description

ReadPE

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

Installation

  • Using pip
$ pip install readpe
  • From source
$ git clone https://github.com/N1ght-W0lf/readpe
$ cd readpe
$ python setup.py install

Usage

usage: readpe.py [-f FILE] [-H] [-d] [-h] [-o] [-D] [-i] [-e] [-s] [-r] [-x]
                 [-t TYPE] [-n NAME] [--help]

Display information about the contents of PE format files

optional arguments:
  -f FILE, --file FILE   PE file path
  -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 -f test.exe -d -h -o

License

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.

Source Distribution

readpe-0.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Supported by

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