| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/olefile/__pycache__/ |
Upload File : |
�
6��[_� � � � d Z ddlmZ dZdZdZg d�ZddlZddlZddl Z ddl
Z
ddlZddl
Z
ddlZeeureZ eZn # eZY nxY w e
j
d� � j d k rdZnC e
j
d
� � j d k rd
Zn' e
j
d� � j d k rdZn ed� � � e n
# e$ r eZY nw xY wd
Zej d dk rdZndZej dz fd�Z ed� � Z d� Z!dZ"dZ#dZ$dZ%dZ&dZ'dZ(dZ)dZ*dZ+dZ,dZ-d Z.dZ/dZ0dZ1dZ2dZ3dZ4d Z5dZ6dZ7dZ8dZ9d Z:d!Z;d"Z<d#Z=d$Z>d%Z?d&Z@d'ZAd(ZBd)ZCd*ZDd+ZEd,ZFd-ZGd.ZHd/ZId0ZJd1ZKd2ZLd3ZMd4ZNd5ZOd6ZPd7ZQd8ZRd9ZSd:ZTd;ZUd<ZVd=ZWd>ZXd?ZYd@ZZd!Z[d*Z\d4Z]dAZ^dBZ_dC� Z`eeu rdD� ZandE� ZadTdF�ZbdTdG�ZcdH� ZddI� Ze G dJ� dK� � Zf G dL� dMejg � � Zh G dN� dO� � Zi G dP� dQ� � ZjdR� ZkeldSk r ek� � dS dS )Ua:
olefile (formerly OleFileIO_PL)
Module to read/write Microsoft OLE2 files (also called Structured Storage or
Microsoft Compound Document File Format), such as Microsoft Office 97-2003
documents, Image Composer and FlashPix files, Outlook messages, ...
This version is compatible with Python 2.7 and 3.4+
Project website: https://www.decalage.info/olefile
olefile is copyright (c) 2005-2018 Philippe Lagadec
(https://www.decalage.info)
olefile is based on the OleFileIO module from the PIL library v1.1.7
See: http://www.pythonware.com/products/pil/index.htm
and http://svn.effbot.org/public/tags/pil-1.1.7/PIL/OleFileIO.py
The Python Imaging Library (PIL) is
Copyright (c) 1997-2009 by Secret Labs AB
Copyright (c) 1995-2009 by Fredrik Lundh
See source code and LICENSE.txt for information on usage and redistribution.
� )�print_functionz
2018-09-09z0.46zPhilippe Lagadec)� isOleFile� OleFileIO�OleMetadata�enable_logging�MAGIC�STGTY_EMPTY�KEEP_UNICODE_NAMES�STGTY_STREAM�
STGTY_STORAGE�
STGTY_ROOT�STGTY_PROPERTY�STGTY_LOCKBYTES�MINIMAL_OLEFILE_SIZE�
DEFECT_UNSURE�DEFECT_POTENTIAL�DEFECT_INCORRECT�DEFECT_FATAL�DEFAULT_PATH_ENCODING�
MAXREGSECT�DIFSECT�FATSECT�
ENDOFCHAIN�FREESECT� MAXREGSID�NOSTREAM�UNKNOWN_SIZE�
WORD_CLSIDN�L� �I�iz>Need to fix a bug with 32 bit arrays, please contact author...T� zutf-8� c �* � | t j j j v r+t j | � � }|� |� � |S t j | � � }|� t j � � � � |� |� � |S )an
Create a suitable logger object for this module.
The goal is not to change settings of the root logger, to avoid getting
other modules' logs on the screen.
If a logger exists with same name, reuse it. (Else it would have duplicate
handlers and messages would be doubled.)
The level is set to CRITICAL+1 by default, to avoid any logging.
)�logging�Logger�manager�
loggerDict� getLogger�setLevel�
addHandler�NullHandler)�name�level�loggers �1/usr/lib/python3/dist-packages/olefile/olefile.py�
get_loggerr2 � s� � � �w�~�%�0�0�0� �"�4�(�(����������
�
�
�t�
$�
$�F� ���g�)�+�+�,�,�,�
�O�O�E�����M� �olefilec �N � t � t j � � dS )z�
Enable logging for this module (disabled by default).
This will set the module-specific logger level to NOTSET, which
means the main application controls the actual logging level.
N)�logr+ r&