Extract embedded files and macros from office documents.
Python
Latest commit cdaabf5 Aug 18, 2014 @unixfreak0037 Merge pull request #7 from decalage2/master
Fixed a couple bugs in the VBA macros extraction code

README.md

officeparser.py

officerparser.py is a python script that parses the format of OLE compound documents used by Microsoft Office applications.

Some useful features of this script include

  • macro extraction
  • embedded file extraction
  • format analysis

Execute the script with the --help option to view all available options.

useful options

--extract-macros

This extracts all macro code that can be detected in an office document. Use the -o or --output-dir option to specify the directory to store the files.