Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

UnsupportedAlgorithm: unsupported hash algorithm SHA1 #5

Open
malware-kitten opened this issue Mar 8, 2019 · 0 comments
Open

UnsupportedAlgorithm: unsupported hash algorithm SHA1 #5

malware-kitten opened this issue Mar 8, 2019 · 0 comments

Comments

@malware-kitten
Copy link
Contributor

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant