403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.141
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/email/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/email/__pycache__/_encoded_words.cpython-315.opt-1.pyc
R
>lqjF"c�>�Qs]PHs]PHs]PHs]PHs]QHGsGs]QH G	s	,QNs
\O\OQ2OQ2sQsQQ\2s\2sQ\\Q	2$Q
sQsQsQ
sQsQ\Q\-sQsQ\Q\-sQ\Q\-sQQksP!)z�Routines for manipulating RFC2047 encoded words.

This is currently a package-private API, but will be considered for promotion
to a public API if there is demand.

)�
ascii_letters�digits)�errorss=([a-fA-F0-9]{2})c�h�[OUO]2O22!)�)�bytes�fromhex�group�decode)�ms&�)C:\Python315\\Lib\email\_encoded_words.py�<lambda>rAs��%�-�-�����
� 1� 1� 3�4�c�B�UOQQ2o[U2,1!)�_� )�replace�_q_byte_subber)�encodeds&r�decode_qrCs"���o�o�d�D�)�G��'�"�B�&�&r
c�`�\sQs]IsnQ\O
Q2*\O
Q2*sQsQs	Us
P!)�	_QByteMaps-!*+/�asciic��VO7c[U2V$V*!QOU2V$V*!)z={:02X})�safe�chr�format)�self�keys&&r�__missing__�_QByteMap.__missing__Ms=���)�)���C��D�I��y��"�(�(��-�D�I��y�r
�)�__name__�
__module__�__qualname__�__firstlineno__r�encoderrr�__static_attributes__�__classdictcell__)�
__classdict__s@rrrIs2�����m�*�*�7�3�3�f�m�m�G�6L�L�D��r
r�_� c�2�POQU22!)�c3�H�SF �Do[U*w�	J	P!3h�N)�_q_byte_map��.0�xs& r�	<genexpr>�encode_q.<locals>.<genexpr>Zs��7���7�a�;�q�>�>�7�s�")�join��bstrings&r�encode_qr8Ys��
�7�7�3�7�3�3�3r
c�&�[QU22!)c3�Z�SF �Do[[U*2w�	J	P!3hr.)�lenr/r0s& rr3�len_q.<locals>.<genexpr>]s��G���G�q�s�;�q�>�"�"�G�s�$+)�sumr6s&r�len_qr>\s���4�G�4�4�4r
c��[U2]*oU%c
QP]U*
LQo[OV*P	Q5U%c[O2,1!,1![
Oc�[OSP
Q5[O2,1t![
Oc�[OSQ*P
Q5[O2[O2,1tt![
Oc S[O2,1ttt!h9hh9hh9h)�s===r
)�validates==)	r;�base64�	b64decoder�InvalidBase64PaddingDefect�binascii�Error�InvalidBase64CharactersDefect�InvalidBase64LengthDefect)r�pad_err�missing_paddings&  r�decode_brKds5���'�l�Q��G�,3�f�Z�a��i�(��O�E����W�6��F�5<�V�
.�
.�
0�1�
�	
�BD�
�	
���>�>�E�	E�� � ��5�9��5�5�7�8��
���~�~�	E�
E��$�$�W�u�_�u�E��9�9�;��6�6�8�:����
�>�>�
E���!A�!A�!C� D�D�D�

E��	E��E�sr�$A*�A*�'A*�*E�>E�-B0�-E�0E�E�AD�E�E�E�'E�E�E�E�E�Ec�N�[OU2OQ2!)r)rB�	b64encoder	r6s&r�encode_brN�s�����G�$�+�+�G�4�4r
c�r�[[U2]2vqU]*U%c	]*!]*!)�)�divmodr;)r7�groups_of_3�leftovers&  r�len_brT�s.��"�3�w�<��3��K���?�8�a�3�3��3�3r
�q�bc�P�UOQ2vqq4oUOQ2vq!oUO2oUOQQ2o[U*U2vqgUOU2oV�VW1![c@SO[OQS8Q022SOSQ2oKM[[1cUSOQQ2oSO2Q6wc+SO[OQS8Q	022K�h9h)
a[Decode encoded word and return (string, charset, lang, defects) tuple.

An RFC 2047/2243 encoded word has the form:

    =?charset*lang?cte?encoded_string?=

where '*lang' may be omitted but the other parts may not be.

This function expects exactly such a string (that is, it does not check the
syntax and may raise errors if the string is not well formed), and returns
the encoded_string decoded first from its Content Transfer Encoding and
then from the resulting bytes into unicode using the specified charset.  If
the cte-decoded string does not successfully decode using the specified
character set, a defect is added to the defects list and the unknown octets
are replaced by the unicode 'unknown' character \uFDFF.

The specified charset and language are returned.  The default for language,
which is rarely if ever encountered, is the empty string.

�?�*r�surrogateescapez0Encoded word contains bytes not decodable using z charset�unknown-8bitzUnknown charset z* in encoded word; decoded as unknown bytes)
�split�	partition�lowerr%�
_cte_decodersr	�UnicodeDecodeError�appendr�UndecodableBytesDefect�LookupError�UnicodeEncodeError�CharsetError)	�ewr)�charset�cte�
cte_string�langr7�defects�strings	&        rr	r	�s%��*&(�X�X�c�]�"�A����(�(��-��G��

�)�)�+�C�����):�;�G�$�S�)�'�2��G�
?�����(���D�)�)���<����v�4�4�62�29��H�6F�G�	H�����):�;���+�,�?�����):�;���=�=�?�n�,��N�N�6�.�.�1A�'��M<�0=�>�
?��?�s*�#A8�8	D%�=D%�D%�'D%�8*D%�$D%c�<�UQ6XcUOQQ2oLUOU2oUe8[Q*U2o[Q*U2oVV*
]6cQLQo[U*U2oU%c
QU*oQOVV'2!)a�Encode string using the CTE encoding that produces the shorter result.

Produces an RFC 2047/2243 encoded word of the form:

    =?charset*lang?cte?encoded_string?=

where '*lang' is omitted unless the 'lang' parameter is given a value.
Optional argument charset (defaults to utf-8) specifies the charset to use
to encode the string to binary before CTE encoding it.  Optional argument
'encoding' is the cte specifier for the encoding that should be used ('q'
or 'b'); if it is None (the default) the encoding which produces the
shortest encoded sequence is used, except that 'q' is preferred if it is up
to five characters longer.  Optional argument 'lang' (default '') gives the
RFC 2243 language string to specify in the encoded word.

r[�utf-8rZrUrVrYz=?{}{}?{}?{}?=)r%�_cte_encode_length�
_cte_encodersr)rlrg�encodingrjr7�qlen�blenrs&&&&    rr%r%�s���"�.� ��-�-��):�;���-�-��(����!�#�&�w�/��!�#�&�w�/���+��/�3�s���H�%�g�.�G���T�z���"�"�7�(�D�Dr
)rr8rKrNr>rTr	r%)rnNr,)�__doc__�rerBrE�	functoolsrlrr�emailr�__all__�partial�compile�subrr�dictrr/�ordr8r>rKrNrTr_r	rpror%r r
r�<module>r~s����R
�
���(��
���"�"�2�:�:�.C�#D�#H�#H�4�6��'�	��	��k����C��H��4�5�$E�L5�4������
�
'*�V�����
�������
Er

Youez - 2016 - github.com/yon3zu
LinuXploit