403Webshell
Server IP : 43.141.49.107  /  Your IP : 113.219.202.44
Web Server : Apache
System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64
User : www ( 1000)
PHP Version : 8.1.27
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib64/python3.11/email/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python3.11/email/__pycache__/parser.cpython-311.opt-1.pyc
�

��e����dZgd�ZddlmZmZddlmZmZddlm	Z	Gd�d��Z
Gd�d	e
��ZGd
�d��ZGd�d
e��Z
dS)z-A parser of RFC 2822 and MIME email messages.)�Parser�HeaderParser�BytesParser�BytesHeaderParser�
FeedParser�BytesFeedParser�)�StringIO�
TextIOWrapper)rr)�compat32c�,�eZdZded�d�Zdd�Zdd�ZdS)	rN��policyc�"�||_||_dS)a�Parser of RFC 2822 and MIME email messages.

        Creates an in-memory object tree representing the email message, which
        can then be manipulated and turned over to a Generator to return the
        textual representation of the message.

        The string must be formatted as a block of RFC 2822 headers and header
        continuation lines, optionally preceded by a `Unix-from' header.  The
        header block is terminated either by the end of the string or by a
        blank line.

        _class is the class to instantiate for new message objects when they
        must be created.  This class must have a constructor that can take
        zero arguments.  Default is Message.Message.

        The policy keyword specifies a policy object that controls a number of
        aspects of the parser's operation.  The default policy maintains
        backward compatibility.

        N)�_classr)�selfrrs   �%/usr/lib64/python3.11/email/parser.py�__init__zParser.__init__s��*��������Fc���t|j|j���}|r|���	|�d��}|sn|�|���.|���S)a\Create a message structure from the data in a file.

        Reads all the data from the file and returns the root of the message
        structure.  Optional headersonly is a flag specifying whether to stop
        parsing after reading the headers or not.  The default is False,
        meaning it parses the entire contents of the file.
        r
Ti )rrr�_set_headersonly�read�feed�close)r�fp�headersonly�
feedparser�datas     r�parsezParser.parse)s~�� ���D�K�@�@�@�
��	*��'�'�)�)�)�	"��7�7�4�=�=�D��
���O�O�D�!�!�!�		"�
���!�!�!rc�J�|�t|��|���S)a-Create a message structure from a string.

        Returns the root of the message structure.  Optional headersonly is a
        flag specifying whether to stop parsing after reading the headers or
        not.  The default is False, meaning it parses the entire contents of
        the file.
        �r)rr	�r�textrs   r�parsestrzParser.parsestr;s ���z�z�(�4�.�.�k�z�B�B�Br)N�F)�__name__�
__module__�__qualname__rrrr#�rrrrsb�������h������0"�"�"�"�$C�C�C�C�C�Crrc��eZdZdd�Zdd�ZdS)rTc�:�t�||d��S�NT)rr�rrrs   rrzHeaderParser.parseGs���|�|�D�"�d�+�+�+rc�:�t�||d��Sr+)rr#r!s   rr#zHeaderParser.parsestrJs�����t�T�4�0�0�0rN�T)r%r&r'rr#r(rrrrFs<������,�,�,�,�1�1�1�1�1�1rrc�$�eZdZd�Zdd�Zdd�ZdS)rc�(�t|i|��|_dS)a�Parser of binary RFC 2822 and MIME email messages.

        Creates an in-memory object tree representing the email message, which
        can then be manipulated and turned over to a Generator to return the
        textual representation of the message.

        The input must be formatted as a block of RFC 2822 headers and header
        continuation lines, optionally preceded by a `Unix-from' header.  The
        header block is terminated either by the end of the input or by a
        blank line.

        _class is the class to instantiate for new message objects when they
        must be created.  This class must have a constructor that can take
        zero arguments.  Default is Message.Message.
        N)r�parser)r�args�kws   rrzBytesParser.__init__Ps�� �d�)�b�)�)����rFc��t|dd���}	|j�||��|���S#|���wxYw)acCreate a message structure from the data in a binary file.

        Reads all the data from the file and returns the root of the message
        structure.  Optional headersonly is a flag specifying whether to stop
        parsing after reading the headers or not.  The default is False,
        meaning it parses the entire contents of the file.
        �ascii�surrogateescape)�encoding�errors)r
r1r�detachr,s   rrzBytesParser.parsebsT���2��8I�
J�
J�
J��	��;�$�$�R��5�5��I�I�K�K�K�K��B�I�I�K�K�K�K���s�A�Ac�f�|�dd���}|j�||��S)a2Create a message structure from a byte string.

        Returns the root of the message structure.  Optional headersonly is a
        flag specifying whether to stop parsing after reading the headers or
        not.  The default is False, meaning it parses the entire contents of
        the file.
        �ASCIIr6)r8)�decoder1r#r!s   r�
parsebyteszBytesParser.parsebytesqs2���{�{�7�+<�{�=�=���{�#�#�D�+�6�6�6rNr$)r%r&r'rrr=r(rrrrNsK������*�*�*�$����	7�	7�	7�	7�	7�	7rrc��eZdZdd�Zdd�ZdS)rTc�<�t�||d���S�NTr )rrr,s   rrzBytesHeaderParser.parse~s��� � ��r�t� �<�<�<rc�<�t�||d���Sr@)rr=r!s   rr=zBytesHeaderParser.parsebytes�s���%�%�d�D�d�%�C�C�CrNr.)r%r&r'rr=r(rrrr}sB������=�=�=�=�D�D�D�D�D�DrrN)�__doc__�__all__�ior	r
�email.feedparserrr�email._policybaserrrrrr(rr�<module>rGs$��
4�3�,�,�,��'�&�&�&�&�&�&�&�8�8�8�8�8�8�8�8�&�&�&�&�&�&�3C�3C�3C�3C�3C�3C�3C�3C�l1�1�1�1�1�6�1�1�1�,7�,7�,7�,7�,7�,7�,7�,7�^D�D�D�D�D��D�D�D�D�Dr

Youez - 2016 - github.com/yon3zu
LinuXploit