When running against the following document malware.zip an error is produced. The password is .php
Traceback (most recent call last):
File "msoffice_decrypt/msoffice_decrypt.py", line 620, in <module>
_main()
File "msoffice_decrypt/msoffice_decrypt.py", line 591, in _main
if decryptor.decrypt('VelvetSweatshop'):
File "msoffice_decrypt/msoffice_decrypt.py", line 275, in decrypt
key = self.get_encryption_key(password)
File "msoffice_decrypt/msoffice_decrypt.py", line 298, in get_encryption_key
return self.get_agile_aes_cbc_encryption_key(password)
File "msoffice_decrypt/msoffice_decrypt.py", line 311, in get_agile_aes_cbc_encryption_key
self.encryption_info.password_hash_algorithm)
File "msoffice_decrypt/msoffice_decrypt.py", line 92, in hashCalc
raise UnsupportedAlgorithm("unsupported hash algorithm {}".format(algorithm))
__main__.UnsupportedAlgorithm: unsupported hash algorithm SHA1
When running against the following document malware.zip an error is produced. The password is
.php