Skip to content

Msoffcrypto crypto library detects incorrect passwords #1

@atialtunbayrak

Description

@atialtunbayrak

Hello, I have used this github project to open an excel file using the popularrockyou.txt password set but the software detected wrong passwords to the file such as lbanks and 123wsx. I debugged the source of the error to be the lines

file.load_key(password=password) 
file.decrypt(decrypted) 

in cracker.py
not returning a InvalidKeyError from the Msoffcrypto library. What alternative approaches can I follow to get the program checking passwords correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions