unixfreak0037 / msoffice_decrypt Goto Github PK
View Code? Open in Web Editor NEWMS Office decryption python library
License: MIT License
MS Office decryption python library
License: MIT License
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
Traceback (most recent call last):
File "../gitlab/software/msoffice_decrypt/msoffice_decrypt.py", line 589, in <module>
if decryptor.decrypt('VelvetSweatshop'):
File "../gitlab/software/msoffice_decrypt/msoffice_decrypt.py", line 275, in decrypt
key = self.get_encryption_key(password)
File "../gitlab/software/msoffice_decrypt/msoffice_decrypt.py", line 290, in get_encryption_key
return self.get_aes_128_encryption_key(password)
File "../gitlab/software/msoffice_decrypt/msoffice_decrypt.py", line 394, in get_aes_128_encryption_key
X1[index] = X1[index] ^ hash_final[index]
TypeError: unsupported operand type(s) for ^: 'int' and 'str'
Will send file that generates this bug.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.