extracting hash from Word 2011 file
#1
Shocked 
Hi,

When I run office2john to pull the hash from a .docx, it throws the following error:

Code:
Traceback (most recent call last):
  File "C:\Users\brian\Desktop\cracking\run\office2john.py", line 3082, in <module>
    ret = process_file(sys.argv[i])
  File "C:\Users\brian\Desktop\cracking\run\office2john.py", line 3005, in process_file
    return process_new_office(filename)
  File "C:\Users\brian\Desktop\cracking\run\office2john.py", line 2813, in process_new_office
    xml_metadata_parser(data, filename)
  File "C:\Users\brian\Desktop\cracking\run\office2john.py", line 2857, in xml_metadata_parser
    for node in tree.getiterator('{http://schemas.microsoft.com/office/2006/keyEncryptor/password}encryptedKey'):
AttributeError: 'ElementTree' object has no attribute 'getiterator'

I created this file using Microsoft Word for Mac 2011 Version 14.16. Is this version of Word not supported by office2john? I'm using the latest version of office2john included with the 1.9.0 jumbo release. 

Are there other tools I can use to extract the hash? I recognize this forum maybe doesn't directly support office2john, but I'm not sure where else to post.

This is the file in question: https://bit.ly/3y8sdJa
Reply


Messages In This Thread
extracting hash from Word 2011 file - by dlkasl1 - 08-23-2021, 03:40 PM