DocX Word Document

Associate
Joined
3 Oct 2010
Posts
477
**Mods, feel free to remove this if you feel it breaks any forum rules**

Basically, I have been writing a book recently. But over the last few months I have been so busy that I have put it to one side.

My partner keeps trying to read it, so I password protected it a few months back.

I come to continue today and I've forgotten the bloody password.

Is there any way I can recover this without paying some shady site, or am I likely to be spending the rest of my days guessing? I have been using Word 2010 and its a docx. The password is set to open.

Feel so stupid right now but I don't particularly want to lose my work.

Chris.
 
hex editors should only work on documents in the old format (.doc) The correct method for a docx would be to rename it to .zip then extract it. You will have a load of xml files doc(x) are built around xml.

Open up settings.xml and in there you should see the following block:

<w:documentProtection
w:edit=""
w:enforcement="1"
w:cryptProviderType=""
w:cryptAlgorithmClass=""
w:cryptAlgorithmType=""
w:cryptAlgorithmSid=""
w:cryptSpinCount=""
w:hash=""
w:salt=""/>

Change the enforcement value to 0 or remove this block entirely. Add settings.xml back to the zip and rename it back to docx.

That should get you in provided you did not lock read protection. I can't remember the method for that but there is a simple way.

I Tried that but I'm not getting the expected info I'm just getting:

[6]dataspaces
EncryptedPackage
Encryption Info

There are a few directories through the main folder also, but nothing I can open or view (they are just named file with no ext.
 
FYI the other files are go through the top one above, go through dataspace info and there is a file strong encryption data space

EDIT Daft O didn't try opening them in notepad, I have but cant find the above in any of the files
 
Back
Top Bottom