Skip to main content

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

Metadata

Release files for readpe 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for readpe 0.3
File Size Uploaded
readpe-0.3.tar.gz 4.7 kB Details

Release files / readpe-0.3.tar.gz

Download URL readpe-0.3.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
06eeacf974ceae4d989148f68a0fb77d57ecb90934b87385ec245c788f45fffd
BLAKE2b-256 checksum
How to use checksums
a0c725fc4f4107833cae2ef4b5ad0d11c54c9b8064c325aeb7a44f3837c4af3e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page