Giter Site home page Giter Site logo

wflk / officefileinfo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bsi-group/officefileinfo

0.0 2.0 0.0 30 KB

officefileinfo is a python script to help analyse the newer Microsoft Office file formats. There are numerous tools for dealing with the older OLE based files, but a distinct lack for the newer formats.

Python 100.00%

officefileinfo's Introduction

officefileinfo

officefileinfo is a python script to help analyse the newer Microsoft Office file formats. There are numerous tools for dealing with the older OLE based files, but a distinct lack for the newer formats.

The newer formats all use the zip file format as the primary structure, with the internal sub formats using XML. As the primary structure is a zip file, it can obviously be trivally extracted, however, looking at each internal file is laborious and time consuming.

The aim of the script is to extract the pertinent information such as: does it contain macros, embedded objects etc, and also extract any macro code into separate files. The script uses the officedissector python library to do the file parsing.

Installation

The following steps show how to get step up using the Ubuntu distro:

wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
sudo apt-get install python
sudo pip install lxml
sudo pip install officedissector

Next either download the latest release archive or use git to clone the source code:

git clone https://github.com/infoassure/officefileinfo.git

Usage

To use the script, supply a Microsoft Office file such as a *.docx, *.xlsx and an output directory. The file will be parsed and it's various properties output to STDOUT. If any macro's are encountered, then they will be extracted and output to the directory supplied. Each macro will be in a separate file.

usage: officefileinfo.py [-h] -f FILE -o OUTPUTDIR

officefileinfo's People

Contributors

woanware avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.