office2hashcat error - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: office2hashcat error (/thread-9560.html) |
office2hashcat error - duffman - 10-12-2020 Hi I am trying to get the hash from an Office file but am receiving the below error. I have tried this on the target file itself, and multiple test files (pptx or docx with a password set). I have tried the same files on some of the online sites to get the hash which use the same script, and it works to generate the hash which I can then crack. Any ideas why this is? I also get the same error when trying with office2john.py Any help is greatly appreciated, thanks! Code: C:\temp>office2hashcat.py "test password.pptx" RE: office2hashcat error - philsmd - 10-12-2020 are you using the correct python version ? did you try with python 3 ? in general, if you find some problem with a 3rd party tool like office2john or office2hashcat, you should report the problem there if you are sure it's not an user error. latest office2john.py version can be found here: https://raw.githubusercontent.com/openwall/john/bleeding-jumbo/run/office2john.py RE: office2hashcat error - john - 10-12-2020 use command python office2john.py "test password.pptx" RE: office2hashcat error - duffman - 10-12-2020 Hi Thanks for the replies. I've tried both office2hashcat and office2john, and tried with the full CMD: python office2john.py file.pptx And yes, latest version of python just downloaded and installed today, python v3. And yes latest versions of both scripts, directly from the GitHub links Same error every time RE: office2hashcat error - duffman - 10-12-2020 (10-12-2020, 08:43 PM)philsmd Wrote: are you using the correct python version ? Just tried with this office2john.py and getting the same error Code: C:\temp>python office2john.py "test password.pptx" I noticed the schema URL in the error (http://schemas.microsoft.com/office/2006/keyEncryptor/password), and tried browsing to this but the page does not load - The resource you are looking for has been removed, had its name changed, or is temporarily unavailable - could this be the issue? RE: office2hashcat error - philsmd - 10-12-2020 again, I would advice you to ask help on the openwall github issue tracker. hint: https://docs.python.org/2/library/xml.etree.elementtree.html#xml.etree.ElementTree.ElementTree.getiterator (for python 2.7) it says: getiterator(tag=None) : Deprecated since version 2.7: Use method ElementTree.iter() instead. |