john
john

Reputation: 315

How to extract all dependencies from a Windows file in Python or grep

How do I extract all the dependencies from a Windows file in Python? So I basically want to extract all the used exe,dll,osx,sys etc. files.

I would like to to this in Python or directly with grep.

Upvotes: 0

Views: 831

Answers (1)

Unknown
Unknown

Reputation: 5772

Pefile can help you parse PE executables. You can find some usage examples on the project's page.

Upvotes: 1

Related Questions