SILENT KILLERPanel

Current Path: > > opt > > alt > python310 > lib64 > python3.10 > email > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt//alt/python310/lib64/python3.10/email/__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-310.opt-1.pyc File 1576 bytes June 18 2025 15:55:14.
__init__.cpython-310.opt-2.pyc File 959 bytes June 18 2025 15:55:21.
__init__.cpython-310.pyc File 1576 bytes June 18 2025 15:55:14.
_encoded_words.cpython-310.opt-1.pyc File 5756 bytes June 18 2025 15:55:14.
_encoded_words.cpython-310.opt-2.pyc File 3882 bytes June 18 2025 15:55:21.
_encoded_words.cpython-310.pyc File 5756 bytes June 18 2025 15:55:14.
_header_value_parser.cpython-310.opt-1.pyc File 78345 bytes June 18 2025 15:55:17.
_header_value_parser.cpython-310.opt-2.pyc File 61651 bytes June 18 2025 15:55:21.
_header_value_parser.cpython-310.pyc File 78377 bytes June 18 2025 15:55:14.
_parseaddr.cpython-310.opt-1.pyc File 12528 bytes June 18 2025 15:55:14.
_parseaddr.cpython-310.opt-2.pyc File 9648 bytes June 18 2025 15:55:21.
_parseaddr.cpython-310.pyc File 12528 bytes June 18 2025 15:55:14.
_policybase.cpython-310.opt-1.pyc File 15256 bytes June 18 2025 15:55:14.
_policybase.cpython-310.opt-2.pyc File 6075 bytes June 18 2025 15:55:21.
_policybase.cpython-310.pyc File 15256 bytes June 18 2025 15:55:14.
base64mime.cpython-310.opt-1.pyc File 3256 bytes June 18 2025 15:55:14.
base64mime.cpython-310.opt-2.pyc File 1500 bytes June 18 2025 15:55:21.
base64mime.cpython-310.pyc File 3256 bytes June 18 2025 15:55:14.
charset.cpython-310.opt-1.pyc File 11570 bytes June 18 2025 15:55:17.
charset.cpython-310.opt-2.pyc File 5275 bytes June 18 2025 15:55:21.
charset.cpython-310.pyc File 11591 bytes June 18 2025 15:55:14.
contentmanager.cpython-310.opt-1.pyc File 7405 bytes June 18 2025 15:55:14.
contentmanager.cpython-310.opt-2.pyc File 7405 bytes June 18 2025 15:55:14.
contentmanager.cpython-310.pyc File 7405 bytes June 18 2025 15:55:14.
encoders.cpython-310.opt-1.pyc File 1643 bytes June 18 2025 15:55:14.
encoders.cpython-310.opt-2.pyc File 1308 bytes June 18 2025 15:55:21.
encoders.cpython-310.pyc File 1643 bytes June 18 2025 15:55:14.
errors.cpython-310.opt-1.pyc File 5866 bytes June 18 2025 15:55:14.
errors.cpython-310.opt-2.pyc File 4465 bytes June 18 2025 15:55:21.
errors.cpython-310.pyc File 5866 bytes June 18 2025 15:55:14.
feedparser.cpython-310.opt-1.pyc File 10459 bytes June 18 2025 15:55:17.
feedparser.cpython-310.opt-2.pyc File 8828 bytes June 18 2025 15:55:21.
feedparser.cpython-310.pyc File 10594 bytes June 18 2025 15:55:14.
generator.cpython-310.opt-1.pyc File 13012 bytes June 18 2025 15:55:14.
generator.cpython-310.opt-2.pyc File 9345 bytes June 18 2025 15:55:21.
generator.cpython-310.pyc File 13012 bytes June 18 2025 15:55:14.
header.cpython-310.opt-1.pyc File 16478 bytes June 18 2025 15:55:14.
header.cpython-310.opt-2.pyc File 10886 bytes June 18 2025 15:55:21.
header.cpython-310.pyc File 16478 bytes June 18 2025 15:55:14.
headerregistry.cpython-310.opt-1.pyc File 21885 bytes June 18 2025 15:55:17.
headerregistry.cpython-310.opt-2.pyc File 16288 bytes June 18 2025 15:55:21.
headerregistry.cpython-310.pyc File 21921 bytes June 18 2025 15:55:14.
iterators.cpython-310.opt-1.pyc File 1984 bytes June 18 2025 15:55:14.
iterators.cpython-310.opt-2.pyc File 1384 bytes June 18 2025 15:55:21.
iterators.cpython-310.pyc File 1984 bytes June 18 2025 15:55:14.
message.cpython-310.opt-1.pyc File 37820 bytes June 18 2025 15:55:14.
message.cpython-310.opt-2.pyc File 21439 bytes June 18 2025 15:55:21.
message.cpython-310.pyc File 37820 bytes June 18 2025 15:55:14.
parser.cpython-310.opt-1.pyc File 5689 bytes June 18 2025 15:55:14.
parser.cpython-310.opt-2.pyc File 2702 bytes June 18 2025 15:55:21.
parser.cpython-310.pyc File 5689 bytes June 18 2025 15:55:14.
policy.cpython-310.opt-1.pyc File 9669 bytes June 18 2025 15:55:14.
policy.cpython-310.opt-2.pyc File 3486 bytes June 18 2025 15:55:21.
policy.cpython-310.pyc File 9669 bytes June 18 2025 15:55:14.
quoprimime.cpython-310.opt-1.pyc File 7639 bytes June 18 2025 15:55:14.
quoprimime.cpython-310.opt-2.pyc File 4204 bytes June 18 2025 15:55:21.
quoprimime.cpython-310.pyc File 7639 bytes June 18 2025 15:55:14.
utils.cpython-310.opt-1.pyc File 11882 bytes June 18 2025 15:55:14.
utils.cpython-310.opt-2.pyc File 8316 bytes June 18 2025 15:55:21.
utils.cpython-310.pyc File 11882 bytes June 18 2025 15:55:14.

Reading File: //opt//alt/python310/lib64/python3.10/email/__pycache__/generator.cpython-310.pyc

o

�=?hPQ�@s�dZgd�ZddlZddlZddlZddlZddlmZddlm	Z	m
Z
ddlmZddl
mZdZd	Ze�d
�Ze�dej�Ze�d�ZGd
d�d�ZGdd�de�ZdZGdd�de�Zeeejd��ZdeZejZdS)z:Classes to generate plain text from a message object tree.)�	Generator�DecodedGenerator�BytesGenerator�N)�deepcopy)�StringIO�BytesIO)�_has_surrogates)�HeaderWriteError�_�
z
\r\n|\r|\nz^From z\r\n[^ \t]|\r[^ \n\t]|\n[^ \t]c@s�eZdZdZd'dd�dd�Zdd�Zd(d	d
�Zdd�Zd
d�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�ZeZdd�Zdd�Zdd �Zd!d"�Zed)d#d$��Zed%d&��ZdS)*rz�Generates output from a Message object tree.

    This basic generator writes the message to the given file object as plain
    text.
    N��policycCs6|dur
|dur
dn|j}||_||_||_||_dS)a�Create the generator for message flattening.

        outfp is the output file-like object for writing the message to.  It
        must have a write() method.

        Optional mangle_from_ is a flag that, when True (the default if policy
        is not set), escapes From_ lines in the body of the message by putting
        a `>' in front of them.

        Optional maxheaderlen specifies the longest length for a non-continued
        header.  When a header line is longer (in characters, with tabs
        expanded to 8 spaces) than maxheaderlen, the header will split as
        defined in the Header class.  Set maxheaderlen to zero to disable
        header wrapping.  The default is 78, as recommended (but not required)
        by RFC 2822.

        The policy keyword specifies a policy object that controls a number of
        aspects of the generator's operation.  If no policy is specified,
        the policy associated with the Message object passed to the
        flatten method is used.

        NT)�mangle_from_�_fp�
_mangle_from_�maxheaderlenr
)�self�outfprrr
�r�6/opt/alt/python310/lib64/python3.10/email/generator.py�__init__&s
zGenerator.__init__cCs|j�|�dS�N)r�write�r�srrrrFszGenerator.writeFcCs�|jdur|jn|j}|dur|j|d�}|jdur!|j|jd�}|j|_|�|j�|_d|_|�|j�|_|j}|j}z-||_||_|r\|�	�}|sTdt
�t
�
��}|�||j�|�
|�W||_||_dS||_||_w)a�Print the message object tree rooted at msg to the output file
        specified when the Generator instance was created.

        unixfrom is a flag that forces the printing of a Unix From_ delimiter
        before the first object in the message tree.  If the original message
        has no From_ delimiter, a `standard' one is crafted.  By default, this
        is False to inhibit the printing of any From_ delimiter.

        Note that for subobjects, no From_ line is printed.

        linesep specifies the characters used to indicate a new line in
        the output.  The default value is determined by the policy specified
        when the Generator instance was created or, if none was specified,
        from the policy associated with the msg.

        N)�linesep�Zmax_line_length�zFrom nobody )r
�clonerr�_NL�_encode�_encoded_NLZ_EMPTY�_encoded_EMPTYZget_unixfrom�time�ctimer�_write)r�msg�unixfromrr
Zold_gen_policyZold_msg_policyZufromrrr�flattenJs0

�zGenerator.flattencCs|j||jd|jd�S)z1Clone this generator with the exact same options.Nr)�	__class__rr
)r�fprrrr{s
�zGenerator.clonecC�t�Sr)r�rrrr�_new_buffer�szGenerator._new_buffercCs|Srrrrrrr �szGenerator._encodecCsX|sdSt�|�}|dd�D]
}|�|�|�|j�q|dr*|�|d�dSdS)N���)�NLCRE�splitrr)r�lines�linerrr�_write_lines�s

�zGenerator._write_linescCs�|j}zd|_|��|_}|�|�W||_|j}|`n	||_|j}|`w|rJt|�}|�d�dur:|d|d<n|�d|d�|�d|d�t|dd�}|durZ|�|�n||�|j�	|�
��dS)N�content-transfer-encodingr�Content-Transfer-Encoding�content-type��_write_headers)r�
_munge_cter-�	_dispatchr�getZreplace_header�getattrr8r�getvalue)rr&ZoldfpZsfpZ	munge_cte�methrrrr%�s,�zGenerator._writecCst|��}|��}t�||f��dd�}t|d|d�}|dur4|�dd�}t|d|d�}|dur4|j}||�dS)N�-r
Z_handle_)�get_content_maintype�get_content_subtype�
UNDERSCORE�join�replacer<�
_writeBody)rr&�main�subZspecificr>Zgenericrrrr:�szGenerator._dispatchcCs�|��D]8\}}|j�||�}|jjr7|jj}|�|jj�s(td|�d|����t�|�	|��r7td|����|�
|�q|�
|j�dS)Nz folded header does not end with z: z folded header contains newline: )�	raw_itemsr
ZfoldZverify_generated_headersr�endswithr	�NEWLINE_WITHOUT_FWSP�search�removesuffixrr)rr&�h�vZfoldedrrrrr8�s��zGenerator._write_headerscCs�|��}|dur
dSt|t�stdt|���t|j�r?|�d�}|dur?t|�}|d=|�	||�|��}|d|df|_
|jrHt�
d|�}|�|�dS)Nzstring payload expected: %s�charsetr4r6�>From )�get_payload�
isinstance�str�	TypeError�typer�_payloadZ	get_paramrZset_payloadr9r�fcrerGr3)rr&�payloadrOrrr�_handle_text�s$


�zGenerator._handle_textcCs�g}|��}|dur
g}nt|t�r|�|�dSt|t�s!|g}|D]}|��}|�|�}|j|d|jd�|�	|�
��q#|��}|sU|j�
|�}|�|�}|�|�|jdurs|jret�d|j�}	n|j}	|�|	�|�|j�|�d||j�|r�|j�|�d��|D]}
|�|jd||j�|j�|
�q�|�|jd|d|j�|jdur�|jr�t�d|j�}n|j}|�|�dSdS)NF�r'rrPz--r)rQrRrSr�listr-rr(r�appendr=Zget_boundaryr!rC�_make_boundaryZset_boundary�preamblerrWrGr3r�pop�epilogue)rr&ZmsgtextsZsubparts�partr�g�boundaryZalltextr^Z	body_partr`rrr�_handle_multipart
sL








�zGenerator._handle_multipartcCs4|j}|jdd�|_z|�|�W||_dS||_w)Nrr)r
rrd)rr&�prrr�_handle_multipart_signedGs
z"Generator._handle_multipart_signedcCs�g}|��D]:}|��}|�|�}|j|d|jd�|��}|�|j�}|r;|d|jkr;|�	|j�
|dd���q|�	|�q|j�|j�
|��dS)NFrZr.)
rQr-rr(rr=r0r!r"r\rCrr)rr&Zblocksrarrb�textr1rrr�_handle_message_delivery_statusRs
z)Generator._handle_message_delivery_statuscCs^|��}|�|�}|j}t|t�r"|j|�d�d|jd�|��}n|�	|�}|j
�|�dS)NrFrZ)r-rrVrRr[r(rQrr=r rr)rr&rrbrXrrr�_handle_messagegs




zGenerator._handle_messagecCsxt�tj�}dt|d}|dur|S|}d}	|�dt�|�dtj�}|�	|�s/	|S|dt
|�}|d7}q)	Nz===============z==rTz^--z(--)?$�.r7)�randomZ	randrange�sys�maxsize�_fmt�_compile_re�re�escape�	MULTILINErKrS)�clsrg�tokenrc�bZcounterZcrerrrr]�s
��zGenerator._make_boundarycCst�||�Sr)rp�compile�rsr�flagsrrrro�szGenerator._compile_re)NN)FNr)�__name__�
__module__�__qualname__�__doc__rrr(rr-r r3r%r:r8rYrErdrfrhri�classmethodr]rorrrrrs0	� 
1':rcsPeZdZdZdd�Zdd�Zdd�Zdd	�Z�fd
d�ZeZ	e
dd
��Z�ZS)ra�Generates a bytes version of a Message object tree.

    Functionally identical to the base Generator except that the output is
    bytes and not string.  When surrogates were used in the input to encode
    bytes, these are decoded back to bytes for output.  If the policy has
    cte_type set to 7bit, then the message is transformed such that the
    non-ASCII bytes are properly content transfer encoded, using the charset
    unknown-8bit.

    The outfp object must accept bytes in its write method.
    cCs|j�|�dd��dS)N�ascii�surrogateescape)rr�encoderrrrr�szBytesGenerator.writecCr+r)rr,rrrr-�szBytesGenerator._new_buffercCs
|�d�S�Nr~)r�rrrrr �s
zBytesGenerator._encodecCs8|��D]\}}|j�|j�||��q|�|j�dSr)rHrrr
Zfold_binaryr)rr&rMrNrrrr8�szBytesGenerator._write_headerscs^|jdurdSt|j�r%|jjdks%|jrt�d|j�|_|�|j�dStt	|��
|�dS)NZ7bitrP)rVrr
Zcte_typerrWrGr3�superrrY)rr&�r)rrrY�s
zBytesGenerator._handle_textcCst�|�d�|�Sr�)rprvr�rwrrrro�szBytesGenerator._compile_re)
ryrzr{r|rr-r r8rYrEr}ro�
__classcell__rrr�rr�s
rzD[Non-text (%(type)s) part of message omitted, filename %(filename)s]c@s(eZdZdZddd�dd�Zdd�ZdS)	rz�Generates a text representation of a message.

    Like the Generator base class, except that non-text parts are substituted
    with a format string representing the part.
    NrcCs0tj|||||d�|durt|_dS||_dS)a�Like Generator.__init__() except that an additional optional
        argument is allowed.

        Walks through all subparts of a message.  If the subpart is of main
        type `text', then it prints the decoded payload of the subpart.

        Otherwise, fmt is a format string that is used instead of the message
        payload.  fmt is expanded with the following keywords (in
        %(keyword)s format):

        type       : Full MIME type of the non-text part
        maintype   : Main MIME type of the non-text part
        subtype    : Sub-MIME type of the non-text part
        filename   : Filename of the non-text part
        description: Description associated with the non-text part
        encoding   : Content transfer encoding of the non-text part

        The default value for fmt is None, meaning

        [Non-text (%(type)s) part of message omitted, filename %(filename)s]
        rN)rr�_FMTrn)rrrrZfmtr
rrrr�s�

zDecodedGenerator.__init__cCs�|��D];}|��}|dkrt|jdd�|d�q|dkrqt|j|��|��|��|�d�|�dd�|�d	d
�d�|d�qdS)NrgF)�decode)�fileZ	multipartz
[no filename]zContent-Descriptionz[no description]r5z
[no encoding])rU�maintypeZsubtype�filename�description�encoding)	�walkr@�printrQrnZget_content_typerA�get_filenamer;)rr&rar�rrrr:�s*���	��zDecodedGenerator._dispatch)NNN)ryrzr{r|rr:rrrrr�s�rr7z%%0%dd) r|�__all__rprlr#rk�copyr�iorrZemail.utilsrZemail.errorsr	rB�NLrvr/rrrWrJrrr�r�len�reprrmZ_widthrnr]rrrr�<module>s0

}3;


SILENT KILLER Tool