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 <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

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.3.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file readpe-0.3.tar.gz.

File metadata

  • Download URL: readpe-0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for readpe-0.3.tar.gz
Algorithm Hash digest
SHA256 06eeacf974ceae4d989148f68a0fb77d57ecb90934b87385ec245c788f45fffd
MD5 76a6b0eece743e70e77df7a422470ddf
BLAKE2b-256 a0c725fc4f4107833cae2ef4b5ad0d11c54c9b8064c325aeb7a44f3837c4af3e

See more details on using hashes here.

Supported by

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