Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /opt/alt/python38/lib64/python3.8/email/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python38/lib64/python3.8/email/__pycache__/quoprimime.cpython-38.opt-2.pyc
U

��,a�&�
@sTdddddddddd	g
Zd
dlZd
dlmZmZmZd
ZdZdZdd�e	d�D�Z
e
dd�Ze
dd�Zde�
d�e�
d�D]Zee�ee<q�deed�<dD]Zee�ee<q�dd�Zdd�Zdd�Zdd�Zd+dd�Zd d	�Zd!d�Zd,d#d�Zedd�Zd$D]Zee�ee<�q
d%efd&d�Zefd'd�ZeZeZd(d)�Zd*d�ZdS)-�body_decode�body_encode�body_length�decode�decodestring�
header_decode�
header_encode�
header_length�quote�unquote�N)�
ascii_letters�digits�	hexdigits�
�
�cCsg|]}d|�qS)z=%02X�)�.0�crr�5/opt/alt/python38/lib64/python3.8/email/quoprimime.py�
<listcomp>7sr�s-!*+/�ascii�_� s_ !"#$%&'()*+,-./0123456789:;<>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~	cCst|�t|kS�N)�chr�_QUOPRI_HEADER_MAP��octetrrr�header_checkJsr cCst|�t|kSr)r�_QUOPRI_BODY_MAPrrrr�
body_checkOsr"cCstdd�|D��S)Ncss|]}tt|�VqdSr)�lenr�rrrrr�	<genexpr>^sz header_length.<locals>.<genexpr>��sum��	bytearrayrrrrTs
cCstdd�|D��S)Ncss|]}tt|�VqdSr)r#r!r$rrrr%hszbody_length.<locals>.<genexpr>r&r(rrrrascCsft|t�st|�}|s&|�|���n<t|d�t|�|krT|d||7<n|�|���dS)N���)�
isinstance�strr�append�lstripr#)�L�s�maxlenZextrarrr�_max_appendks
r2cCstt|dd�d��S)N���)r�int�r0rrrr
vscCstt|�Sr)�_QUOPRI_MAP�ord)rrrrr	{s�
iso-8859-1cCs$|sdS|�d��t�}d||fS)Nr�latin1z=?%s?q?%s?=)r�	translater)Zheader_bytes�charset�encodedrrrrss
�Lc
Cs�|dkrtd��|s|S|�t�}d|}|d}g}|j}|��D�]}d}t|�d|}	||	kr�||}
||
ddkr�||||
d��|
d}q^||
ddkr�||||
��|
d}q^||||
�d�|
}q^|�rR|ddk�rR||	}|d	k�rt|d�}n(|dk�r,|d|}n|t|d�}|||d�|�qD|||d��qD|dtk�rz|d
�|�|�S)N�zmaxlinelen must be at least 4�=r3r�r*z 	r4r)	�
ValueErrorr<�_QUOPRI_BODY_ENCODE_MAPr-�
splitlinesr#r	�CRLF�join)
ZbodyZ
maxlinelen�eolZ
soft_breakZmaxlinelen1Zencoded_bodyr-�line�startZ	laststart�stopZroom�qrrrr�sD




cCs|s|Sd}|��D]�}|��}|s.||7}qd}t|�}||kr||}|dkrd||7}|d7}nv|d|kr||d7}q:n^|d|kr�||dtkr�||dtkr�|t|||d��7}|d7}n||7}|d7}||kr:||7}q:q|ddk�r|�|��r|dd�}|S)	NrrrAr3rBr4r*r)rE�rstripr#rr
�endswith)r>rHZdecodedrI�i�nrrrrr�s8
,
cCs|�d�}t|�S)Nr)�groupr
)�matchr0rrr�_unquote_matchs
rScCs |�dd�}tjdt|tjd�S)Nrrz=[a-fA-F0-9]{2})�flags)�replace�re�subrS�ASCIIr7rrrr#s)r)r:) �__all__rV�stringrr
rrF�NLZEMPTYSTRING�ranger8rr!�encoderrr9r r"rrr2r
r	rrDrrrrrSrrrrr�<module>sP�




O0

ZeroDay Forums Mini