__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

�Цio���dZgd�ZddlmZmZddlmZmZddlm	Z	Gd�d�Z
Gd�d	e
�ZGd
�d�ZGd�d
e�Z
y)z-A parser of RFC 2822 and MIME email messages.)�Parser�HeaderParser�BytesParser�BytesHeaderParser�
FeedParser�BytesFeedParser�)�StringIO�
TextIOWrapper)rr)�compat32c�*�eZdZded�d�Zdd�Zdd�Zy)rN��policyc� �||_||_y)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/lib/python3.12/email/parser.py�__init__zParser.__init__s��*������c��t|j|j��}|r|j�|j	d�x}r%|j|�|j	d�x}r�%|j
�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
i )rrr�_set_headersonly�read�feed�close)r�fp�headersonly�
feedparser�datas     r�parsezParser.parse)sj�� ����D�K�K�@�
���'�'�)��g�g�d�m�#�d�#��O�O�D�!��g�g�d�m�#�d�#����!�!rc�:�|jt|�|��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.parsestr8s���z�z�(�4�.�k�z�B�Br)N�F)�__name__�
__module__�__qualname__rrrr#�rrrrs���h��0
"�Crrc��eZdZdd�Zdd�Zy)rc�0�tj||d�S�NT)rr�rrrs   rrzHeaderParser.parseDs���|�|�D�"�d�+�+rc�0�tj||d�Sr+)rr#r!s   rr#zHeaderParser.parsestrGs�����t�T�4�0�0rN�T)r%r&r'rr#r(rrrrCs��,�1rrc�"�eZdZd�Zdd�Zdd�Zy)rc�$�t|i|��|_y)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__Ms�� �d�)�b�)��rc��t|dd��}	|jj||�|j�S#|j�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.parse_s?���2��8I�
J��	��;�;�$�$�R��5��I�I�K��B�I�I�K�s	�<�Ac�`�|jdd��}|jj||�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.parsebytesns.���{�{�7�+<�{�=���{�{�#�#�D�+�6�6rNr$)r%r&r'rrr=r(rrrrKs��*�$�	7rrc��eZdZdd�Zdd�Zy)rc�2�tj||d��S�NTr )rrr,s   rrzBytesHeaderParser.parse{s��� � ��r�t� �<�<rc�2�tj||d��Sr@)rr=r!s   rr=zBytesHeaderParser.parsebytes~s���%�%�d�D�d�%�C�CrNr.)r%r&r'rr=r(rrrrzs
��=�DrrN)�__doc__�__all__�ior	r
�email.feedparserrr�email._policybaserrrrrr(rr�<module>rGsN��
4�,��'�8�&�0C�0C�f1�6�1�,7�,7�^D��Dr

Filemanager

Name Type Size Permission Actions
__init__.cpython-312.pyc File 1.87 KB 0644
_encoded_words.cpython-312.pyc File 8.11 KB 0644
_header_value_parser.cpython-312.pyc File 129.12 KB 0644
_parseaddr.cpython-312.pyc File 22.72 KB 0644
_policybase.cpython-312.pyc File 18.22 KB 0644
base64mime.cpython-312.pyc File 3.86 KB 0644
charset.cpython-312.pyc File 14.89 KB 0644
contentmanager.cpython-312.pyc File 12.11 KB 0644
encoders.cpython-312.pyc File 2.04 KB 0644
errors.cpython-312.pyc File 6.86 KB 0644
feedparser.cpython-312.pyc File 19.38 KB 0644
generator.cpython-312.pyc File 20.22 KB 0644
header.cpython-312.pyc File 24 KB 0644
headerregistry.cpython-312.pyc File 30.23 KB 0644
iterators.cpython-312.pyc File 2.75 KB 0644
message.cpython-312.pyc File 51.79 KB 0644
parser.cpython-312.pyc File 6.59 KB 0644
policy.cpython-312.pyc File 11.5 KB 0644
quoprimime.cpython-312.pyc File 9.73 KB 0644
utils.cpython-312.pyc File 15.64 KB 0644
Filemanager