PowerShellMafia / PowerSploit

PowerSploit - A PowerShell Post-Exploitation Framework
Other
11.93k stars 4.61k forks source link

Add direct access to PE Imports and Exports #47

Closed powercode closed 10 years ago

powercode commented 10 years ago

In my usage, I often need only the imports or only the exports in a PE. So instead of getting the whole header, I would like direct access to the tables.

Either like this:

Get-PEHeader -Imports # returning only the import table items
Get-PEHeader -Exports # returning only the export table items

or like this

Get-PEImports # returning only the import table items 
Get-PEExports # returning only the export table items

How do you feel about such a change?

/S

mattifestation commented 10 years ago

Honestly, I'd prefer to leave that to the user to filter out the imports and exports.

Thanks, Matt