WordLeaker, extracting info from Word files

Febrero 23rd, 2005

Inspired by the article written by Richard M. Smith: Microsoft Word bytes Tony Blair in the butt I’ve been programming an utility which can extract the same info from a Word file.

It’s not finished yet, but it’s already working so I’m uploading it so anyone can try it.

The Word file acompanying the article outputs the following info:

C:wordleaker>WordLeaker.exe blair.doc

WordLeaker v.0.1
 by Madelman (
http://elligre.tk/madelman/)

File: blair.doc
Product version: 113
Language: U.S. English
Created by: Word 97 (Build 8/21/98)
Revised by: Word 97 (Build 8/21/98)

Summary:
——–

Title: Iraq- ITS INFRASTRUCTURE OF CONCEALMENT, DECEPTION AND INTIMIDATION
Subject:
Author: default
Keywords:
Comments:
Template: Normal.dot
Last Saved By: MKhan
Revision Number: 4
Creating Application: Microsoft Word 8.0
Total Editing Time: Wed Apr 22 21:27:48 2009
Last Printed: Thu Jan 30 22:33:00 2003
Create Time/Date: Mon Feb 03 10:31:00 2003
Last Saved Time/Date: Mon Feb 03 12:18:00 2003
Number of Pages: 1
Number of Words: 3875
Number of Characters: 22090
Security: 0

Revision:
———

Rev #0: Author “cic22” worked on file “C:DOCUME~1phamillLOCALS~1TempAutoRecovery save of Iraq – security.asd”
Rev #1: Author “cic22” worked on file “C:DOCUME~1phamillLOCALS~1TempAutoRecovery save of Iraq – security.asd”
Rev #2: Author “cic22” worked on file “C:DOCUME~1phamillLOCALS~1TempAutoRecovery save of Iraq – security.asd”
Rev #3: Author “JPratt” worked on file “C:TEMPIraq – security.doc”
Rev #4: Author “JPratt” worked on file “A:Iraq – security.doc”
Rev #5: Author “ablackshaw” worked on file “C:ABlackshawIraq – security.doc”
Rev #6: Author “ablackshaw” worked on file “C:ABlackshawA;Iraq – security.doc”
Rev #7: Author “ablackshaw” worked on file “A:Iraq – security.doc”
Rev #8: Author “MKhan” worked on file “C:TEMPIraq – security.doc”
Rev #9: Author “MKhan” worked on file “C:WINNTProfilesmkhanDesktopIraq.doc”

The programs only compiles on Windows with GCC (for now), but should be easily portable to any platform. If you want to do it, send me a patch and I’ll include it.

Any comment about the program or about useful information found with it will be welcomed.

File Attachment: WordLeaker.zip (124 KB)

UPDATE: I’m stupid, I ftp’ed the doc file to my linux box in ascii mode, so it didn’t work. I have checked it again and the program compiles and works correctly in linux. It doesn’t contain a makefile so if you want to compile it:

g++ -o WordLeaker Wordleaker.cpp pole.cpp

 

Guardado en General | Comentarios desactivados en WordLeaker, extracting info from Word files

Los comentarios están cerrados.