You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

209 lines
9.4 KiB

4 years ago
  1. Metadata-Version: 2.1
  2. Name: olefile
  3. Version: 0.46
  4. Summary: Python package to parse, read and write Microsoft OLE2 files (Structured Storage or Compound Document, Microsoft Office)
  5. Home-page: https://www.decalage.info/python/olefileio
  6. Author: Philippe Lagadec
  7. Author-email: nospam@decalage.info
  8. License: BSD
  9. Download-URL: https://github.com/decalage2/olefile/tarball/master
  10. Platform: UNKNOWN
  11. Classifier: Development Status :: 5 - Production/Stable
  12. Classifier: Intended Audience :: Developers
  13. Classifier: Intended Audience :: Information Technology
  14. Classifier: Intended Audience :: Science/Research
  15. Classifier: Intended Audience :: System Administrators
  16. Classifier: License :: OSI Approved :: BSD License
  17. Classifier: Operating System :: OS Independent
  18. Classifier: Programming Language :: Python
  19. Classifier: Programming Language :: Python :: 2
  20. Classifier: Programming Language :: Python :: 2.7
  21. Classifier: Programming Language :: Python :: 3
  22. Classifier: Programming Language :: Python :: 3.4
  23. Classifier: Programming Language :: Python :: 3.5
  24. Classifier: Programming Language :: Python :: 3.6
  25. Classifier: Programming Language :: Python :: 3.7
  26. Classifier: Programming Language :: Python :: Implementation :: CPython
  27. Classifier: Programming Language :: Python :: Implementation :: PyPy
  28. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  29. Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
  30. olefile
  31. =======
  32. |Build Status TravisCI| |Build Status AppVeyor| |Coverage Status|
  33. |Documentation Status| |PyPI| |Can I Use Python 3?| |Say Thanks!|
  34. `olefile <https://www.decalage.info/olefile>`__ is a Python package to
  35. parse, read and write `Microsoft OLE2
  36. files <http://en.wikipedia.org/wiki/Compound_File_Binary_Format>`__
  37. (also called Structured Storage, Compound File Binary Format or Compound
  38. Document File Format), such as Microsoft Office 97-2003 documents,
  39. vbaProject.bin in MS Office 2007+ files, Image Composer and FlashPix
  40. files, Outlook messages, StickyNotes, several Microscopy file formats,
  41. McAfee antivirus quarantine files, etc.
  42. **Quick links:** `Home page <https://www.decalage.info/olefile>`__ -
  43. `Download/Install <http://olefile.readthedocs.io/en/latest/Install.html>`__
  44. - `Documentation <http://olefile.readthedocs.io/en/latest>`__ - `Report
  45. Issues/Suggestions/Questions <https://github.com/decalage2/olefile/issues>`__
  46. - `Contact the author <https://www.decalage.info/contact>`__ -
  47. `Repository <https://github.com/decalage2/olefile>`__ - `Updates on
  48. Twitter <https://twitter.com/decalage2>`__
  49. News
  50. ----
  51. Follow all updates and news on Twitter: https://twitter.com/decalage2
  52. - **2018-09-09 v0.46**: OleFileIO can now be used as a context manager
  53. (with...as), to close the file automatically (see
  54. `doc <https://olefile.readthedocs.io/en/latest/Howto.html#open-an-ole-file-from-disk>`__).
  55. Improved handling of malformed files, fixed several bugs.
  56. - 2018-01-24 v0.45: olefile can now overwrite streams of any size,
  57. improved handling of malformed files, fixed several
  58. `bugs <https://github.com/decalage2/olefile/milestone/4?closed=1>`__,
  59. end of support for Python 2.6 and 3.3.
  60. - 2017-01-06 v0.44: several bugfixes, removed support for Python 2.5
  61. (olefile2), added support for incomplete streams and incorrect
  62. directory entries (to read malformed documents), added getclsid,
  63. improved `documentation <http://olefile.readthedocs.io/en/latest>`__
  64. with API reference.
  65. - 2017-01-04: moved the documentation to
  66. `ReadTheDocs <http://olefile.readthedocs.io/en/latest>`__
  67. - 2016-05-20: moved olefile repository to
  68. `GitHub <https://github.com/decalage2/olefile>`__
  69. - 2016-02-02 v0.43: fixed issues
  70. `#26 <https://github.com/decalage2/olefile/issues/26>`__ and
  71. `#27 <https://github.com/decalage2/olefile/issues/27>`__, better
  72. handling of malformed files, use python logging.
  73. - see
  74. `changelog <https://github.com/decalage2/olefile/blob/master/CHANGELOG.md>`__
  75. for more detailed information and the latest changes.
  76. Download/Install
  77. ----------------
  78. If you have pip or setuptools installed (pip is included in Python
  79. 2.7.9+), you may simply run **pip install olefile** or **easy_install
  80. olefile** for the first installation.
  81. To update olefile, run **pip install -U olefile**.
  82. Otherwise, see http://olefile.readthedocs.io/en/latest/Install.html
  83. Features
  84. --------
  85. - Parse, read and write any OLE file such as Microsoft Office 97-2003
  86. legacy document formats (Word .doc, Excel .xls, PowerPoint .ppt,
  87. Visio .vsd, Project .mpp), Image Composer and FlashPix files, Outlook
  88. messages, StickyNotes, Zeiss AxioVision ZVI files, Olympus FluoView
  89. OIB files, etc
  90. - List all the streams and storages contained in an OLE file
  91. - Open streams as files
  92. - Parse and read property streams, containing metadata of the file
  93. - Portable, pure Python module, no dependency
  94. olefile can be used as an independent package or with PIL/Pillow.
  95. olefile is mostly meant for developers. If you are looking for tools to
  96. analyze OLE files or to extract data (especially for security purposes
  97. such as malware analysis and forensics), then please also check my
  98. `python-oletools <https://www.decalage.info/python/oletools>`__, which
  99. are built upon olefile and provide a higher-level interface.
  100. Documentation
  101. -------------
  102. Please see the `online
  103. documentation <http://olefile.readthedocs.io/en/latest>`__ for more
  104. information.
  105. Real-life examples
  106. ------------------
  107. A real-life example: `using OleFileIO_PL for malware analysis and
  108. forensics <http://blog.gregback.net/2011/03/using-remnux-for-forensic-puzzle-6/>`__.
  109. See also `this
  110. paper <https://computer-forensics.sans.org/community/papers/gcfa/grow-forensic-tools-taxonomy-python-libraries-helpful-forensic-analysis_6879>`__
  111. about python tools for forensics, which features olefile.
  112. License
  113. -------
  114. olefile (formerly OleFileIO_PL) is copyright (c) 2005-2018 Philippe
  115. Lagadec (https://www.decalage.info)
  116. All rights reserved.
  117. Redistribution and use in source and binary forms, with or without
  118. modification, are permitted provided that the following conditions are
  119. met:
  120. - Redistributions of source code must retain the above copyright
  121. notice, this list of conditions and the following disclaimer.
  122. - Redistributions in binary form must reproduce the above copyright
  123. notice, this list of conditions and the following disclaimer in the
  124. documentation and/or other materials provided with the distribution.
  125. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  126. IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  127. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  128. PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  129. HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  130. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
  131. TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  132. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  133. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  134. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  135. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  136. --------------
  137. olefile is based on source code from the OleFileIO module of the Python
  138. Imaging Library (PIL) published by Fredrik Lundh under the following
  139. license:
  140. The Python Imaging Library (PIL) is
  141. - Copyright (c) 1997-2009 by Secret Labs AB
  142. - Copyright (c) 1995-2009 by Fredrik Lundh
  143. By obtaining, using, and/or copying this software and/or its associated
  144. documentation, you agree that you have read, understood, and will comply
  145. with the following terms and conditions:
  146. Permission to use, copy, modify, and distribute this software and its
  147. associated documentation for any purpose and without fee is hereby
  148. granted, provided that the above copyright notice appears in all copies,
  149. and that both that copyright notice and this permission notice appear in
  150. supporting documentation, and that the name of Secret Labs AB or the
  151. author not be used in advertising or publicity pertaining to
  152. distribution of the software without specific, written prior permission.
  153. SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO
  154. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  155. FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR
  156. ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
  157. RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
  158. CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  159. CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  160. .. |Build Status TravisCI| image:: https://travis-ci.org/decalage2/olefile.svg?branch=master
  161. :target: https://travis-ci.org/decalage2/olefile
  162. .. |Build Status AppVeyor| image:: https://ci.appveyor.com/api/projects/status/github/decalage2/olefile?svg=true
  163. :target: https://ci.appveyor.com/project/decalage2/olefile
  164. .. |Coverage Status| image:: https://coveralls.io/repos/github/decalage2/olefile/badge.svg?branch=master
  165. :target: https://coveralls.io/github/decalage2/olefile?branch=master
  166. .. |Documentation Status| image:: http://readthedocs.org/projects/olefile/badge/?version=latest
  167. :target: http://olefile.readthedocs.io/en/latest/?badge=latest
  168. .. |PyPI| image:: https://img.shields.io/pypi/v/olefile.svg
  169. :target: https://pypi.org/project/olefile/
  170. .. |Can I Use Python 3?| image:: https://caniusepython3.com/project/olefile.svg
  171. :target: https://caniusepython3.com/project/olefile
  172. .. |Say Thanks!| image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
  173. :target: https://saythanks.io/to/decalage2