readpe

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

readpe path/to/executable

readpe --all-headers path/to/executable

readpe --all-sections path/to/executable

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

readpe --imports path/to/executable

readpe --exports path/to/executable