/officeparser

Extract embedded files and macros from office documents.

Primary LanguagePythonMIT LicenseMIT

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.