{"repo":"nolze/msoffcrypto-tool","free":true,"listed":false,"github":"https://github.com/nolze/msoffcrypto-tool","clone":"git clone https://github.com/nolze/msoffcrypto-tool.git","description":"Python tool and library for decrypting and encrypting MS Office files using passwords or other keys","language":"Python","stars":621,"topics":["ole","ooxml","docx","doc","encryption","decryption","command-line","ms-offcrypto","xlsx","xls"],"license":"MIT","category":"security-tools","readme_excerpt":"msoffcrypto-tool msoffcrypto-tool is a Python tool and library for decrypting and encrypting MS Office files using a password or other keys. Contents Installation Examples Supported encryption methods Tests Todo Resources Use cases and mentions Contributors Credits Installation Examples As CLI tool (with password) Decryption Specify the password with -p flag: Password is prompted if you omit the password argument value: To check if the file is encrypted or not, use -t flag: It returns 1 if the file is encrypted, 0 if not. Encryption (OOXML only, experimental) [!IMPORTANT] Encryption feature is experimental. Please use it at your own risk. To password-protect a document, use -e flag along with -p flag: As library Password and more key types are supported with library functions. Decryption Basic usage: In-memory: Advanced usage: Supported key types are - Passwords - Intermediate keys (optional) - Private keys used for generating escrow keys (escrow certificates) (optional) See also \"Backdooring MS Office documents with secret master keys\" for more information on the key types. Encryption (OOXML only, experimental) [!IMPORTANT] Encryption feature is experimental. Please use it at your own risk. Basic usage: In-memory: Supported encryption methods MS-OFFCRYPTO specs [x] ECMA-376 (Agile Encryption/Standard Encryption) [x] MS-DOCX (OOXML) (Word 2007-) [x] MS-XLSX (OOXML) (Excel 2007-) [x] MS-PPTX (OOXML) (PowerPoint 2007-) [x] Office Binary Document RC4 CryptoAPI [x] MS-DOC (Word 2","default_branch":null,"files":null,"tree":[],"storefront":"/r/nolze","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nolze/msoffcrypto-tool/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}