Moshe
Moshe

Reputation: 2668

Extract resources from PE file via script/command-line

I want to write a script (or something similar. don't care which language) which extracts the resources from a PE file (.rsrc section). I'm using Python's pefile and peutils for various PE tasks, but couldn't find anything which actually extracts the resources.

Any help will be appreciated.

Thanks, Moshe

Upvotes: 3

Views: 4658

Answers (1)

Preet Sangha
Preet Sangha

Reputation: 65496

Does PEDUMP work? See here for the description on how to use it. From a quick scan this article seems to show how to decode the resources section. Finally this shows some c++ code to extract resources.

Upvotes: 2

Related Questions