HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

readpe — Display information about PE files. More information: <https://manned.org/readpe>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfilescliinformationaboutreadpemoredisplay
linux

Problem

How to use the readpe command: Display information about PE files. More information: <https://manned.org/readpe>.

Solution

readpe — Display information about PE files. More information: <https://manned.org/readpe>.

Display all information about a PE file:
readpe {{path/to/executable}}


Display all the headers present in a PE file:
readpe --all-headers {{path/to/executable}}


Display all the sections present in a PE file:
readpe --all-sections {{path/to/executable}}


Display a specific header from a PE file:
readpe --header {{dos|coff|optional}} {{path/to/executable}}


List all imported functions:
readpe --imports {{path/to/executable}}


List all exported functions:
readpe --exports {{path/to/executable}}

Code Snippets

Display all information about a PE file

readpe {{path/to/executable}}

Display all the headers present in a PE file

readpe --all-headers {{path/to/executable}}

Display all the sections present in a PE file

readpe --all-sections {{path/to/executable}}

Display a specific header from a PE file

readpe --header {{dos|coff|optional}} {{path/to/executable}}

List all imported functions

readpe --imports {{path/to/executable}}

Context

tldr-pages: linux/readpe

Revisions (0)

No revisions yet.