.pe (parse PE file)

Description of the '.pe' command in HyperDbg.

Command

.pe

Syntax

.pe [header] [FilePath (string)]

.pe [section] [SectionName (string)] [FilePath (string)]

Description

Parses Portable Executable (PE) files and dump sections.

Parameters

[header]

The action for this command is showing headers.

[section]

The action for this command is showing a special section.

[SectionName (string)]

The name of the section to be dumped.

[FilePath (string)]

The file path of the PE file.

Examples

If you want to headers of a PE located at c:\reverse files\myfile.exe.

If you want to see the header + dump of the .text section of the PE file.

IOCTL

None

Remarks

This command will continue the debuggee for some time (in Debugger Mode). This means that you lose the current context (registers & memory) after executing this command.

Requirements

None

None

Last updated