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



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


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.