Skip to content

Commit

Permalink
Complete Office format documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kholia committed Jul 2, 2012
1 parent d4e9eb5 commit 0f810cd
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions doc/OFFICE
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,40 @@ the included office2john program with "make office2john" in the src/
directory. Please note that it has extra prerequisites compared to John
itself, which is why it is not being built by default. Thus, you will
need to install additional "development" packages first.

Follow steps below to successfully build and run office2john program.

1. Install libgsf library

a) On Ubuntu, do

$ sudo apt-get install libgsf-1-dev

b) On CentOS / RHEL / Fedora, do

$ sudo yum install libgsf-devel

c) On Arch Linux, do

$ sudo pacman -S libgsf

2. Install libxml2 library

a) On Ubuntu, do

$ sudo apt-get install libxml2-dev

b) On CentOS / RHEL / Fedora, do

$ sudo yum install libxml2-devel

c) On Arch Linux, do

$ sudo pacman -S libxml2

3. Run "make office2john" in the src/ directory

4. Run office2john on Office 2007 / 2010 files.

5. Run john on the output of office2john.

0 comments on commit 0f810cd

Please sign in to comment.