{ "info": { "author": "John Davison", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only" ], "description": "msoffice_decrypt\n================\n\nmsoffice_decrypt is a Python tool and library for decrypting encrypted\nMS Office files with a password. This work is based on\nhttps://github.com/nolze/msoffcrypto-tool. I created this project to\nsolves a specific use case for myself.\n\n\nInstallation\n------------\n\nStable release\n~~~~~~~~~~~~~\n\n::\n\n pip3 install -U msoffice_decrypt\n\nFrom GitHub\n~~~~~~~~~~~\n\n::\n\n pip3 install -U git+https://github.com/unixfreak0037/msoffice_decrypt\n\nExamples\n--------\n\n(command line) Decrypt a file with a password.\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n msoffice_decrypt -p 7779 Scan_ciwilson.doc Scan_ciwilson_unencrypted.doc\n\n::\n\n decrypted Scan_ciwilson.doc into Scan_ciwilson_unencrypted.doc\n\n(command line) Decrypt a file trying everything that might be a password in this other file.\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n msoffice_decrypt -i sample.txt Scan_ciwilson.doc Scan_ciwilson_unencrypted.doc\n\n::\n\n found password: 7779\n decrypted Scan_ciwilson.doc into Scan_ciwilson_unencrypted.doc\n\n(library)\n~~~~~~~~~\n\n.. code:: python\n\n from msoffice_decrypt import MSOfficeDecryptor\n decryptor = MSOfficeDecryptor(input_file_path, output_file_path)\n if decryptor.is_decryptable:\n # generate a list of passwords that might be right\n # here we assume sample.txt is a text file that contains the password somewhere\n with open('sample.txt', 'r') as fp:\n word_list = decryptor.find_password(fp)\n\n # see if any of these passwords are correct\n password = decryptor.guess(word_list)\n\n if password:\n decryptor.decrypt(password)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/unixfreak0037/msoffice_decrypt", "keywords": "Microsoft Office,decryption,passwords", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "msoffice-decrypt", "package_url": "https://pypi.org/project/msoffice-decrypt/", "platform": "", "project_url": "https://pypi.org/project/msoffice-decrypt/", "project_urls": { "Homepage": "https://github.com/unixfreak0037/msoffice_decrypt" }, "release_url": "https://pypi.org/project/msoffice-decrypt/1.0.1/", "requires_dist": [ "olefile", "pycrypto" ], "requires_python": "", "summary": "Python tool and library for decrypting encrypted MS Office files with a password", "version": "1.0.1" }, "last_serial": 4750881, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "1ad0004e70bf7ae1dc3fb29aa5a033c5", "sha256": "f5adc7813ca26183423ba934d7a055f1e4de0ed33fae85ea7888954b402741eb" }, "downloads": -1, "filename": "msoffice_decrypt-1.0.0-py3.6.egg", "has_sig": false, "md5_digest": "1ad0004e70bf7ae1dc3fb29aa5a033c5", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 15440, "upload_time": "2018-08-20T14:37:08", "url": "https://files.pythonhosted.org/packages/ce/e4/c8642dcb5e065eed8e00dadb9a5afacef09c96a7616d858e10fa07e576ef/msoffice_decrypt-1.0.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "a290c81ebf7daab43216611e74e426e2", "sha256": "901c9b3aecc2360a041dbe332681d9c1ea306298f0645f12018f2758db4e0f84" }, "downloads": -1, "filename": "msoffice_decrypt-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a290c81ebf7daab43216611e74e426e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10304, "upload_time": "2018-08-20T14:37:06", "url": "https://files.pythonhosted.org/packages/92/c4/1f1cb03c6e21d6975b9a0ee532cf5e31c7388ec3a0108abbcc26db9ab055/msoffice_decrypt-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fbbafc718dc7313deede4619685a5f62", "sha256": "b3ba837102b66abcf4264ef74c08b1b2dc320b9e26adac7f63faa02ec1937831" }, "downloads": -1, "filename": "msoffice_decrypt-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fbbafc718dc7313deede4619685a5f62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10335, "upload_time": "2018-08-20T14:37:09", "url": "https://files.pythonhosted.org/packages/09/d6/135b7cffa1af668665bfcc79492f62e0ede34864a0574bd71cad75a8517e/msoffice_decrypt-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ae6a709784a3a55f2c05f15671ccf1ba", "sha256": "71e13fa16c39685c80713e8788b4bff0567c2efdb1b8d9f5a8ac46f32015fd5e" }, "downloads": -1, "filename": "msoffice_decrypt-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ae6a709784a3a55f2c05f15671ccf1ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10289, "upload_time": "2019-01-28T16:32:14", "url": "https://files.pythonhosted.org/packages/e8/0b/d7dbec711b90c8167db8fbcfcfe54f9ed37545e43a80dd844837e6b1f5d7/msoffice_decrypt-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72f10d9be8f0d648fe3bf1211c48751b", "sha256": "70ff2f468cb4931788df974daafe32da3e59b3a6f1aa2880e4cecd8021ab8334" }, "downloads": -1, "filename": "msoffice_decrypt-1.0.1.tar.gz", "has_sig": false, "md5_digest": "72f10d9be8f0d648fe3bf1211c48751b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10340, "upload_time": "2019-01-28T16:32:16", "url": "https://files.pythonhosted.org/packages/71/f8/d480a890ecd029afaaeebda32a606ae4dcc2d14432a33a447c8593c0b52c/msoffice_decrypt-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ae6a709784a3a55f2c05f15671ccf1ba", "sha256": "71e13fa16c39685c80713e8788b4bff0567c2efdb1b8d9f5a8ac46f32015fd5e" }, "downloads": -1, "filename": "msoffice_decrypt-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ae6a709784a3a55f2c05f15671ccf1ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10289, "upload_time": "2019-01-28T16:32:14", "url": "https://files.pythonhosted.org/packages/e8/0b/d7dbec711b90c8167db8fbcfcfe54f9ed37545e43a80dd844837e6b1f5d7/msoffice_decrypt-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72f10d9be8f0d648fe3bf1211c48751b", "sha256": "70ff2f468cb4931788df974daafe32da3e59b3a6f1aa2880e4cecd8021ab8334" }, "downloads": -1, "filename": "msoffice_decrypt-1.0.1.tar.gz", "has_sig": false, "md5_digest": "72f10d9be8f0d648fe3bf1211c48751b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10340, "upload_time": "2019-01-28T16:32:16", "url": "https://files.pythonhosted.org/packages/71/f8/d480a890ecd029afaaeebda32a606ae4dcc2d14432a33a447c8593c0b52c/msoffice_decrypt-1.0.1.tar.gz" } ] }