404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@52.14.229.130: ~ $
3

��f�,�@s>ddlmZddlZddlZddlZddlZddlmZdZdZ	ej
d�Zejddkr`e
ZeZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZGdd�de�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd7dd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Z d8d(d)�Z!d*d+�Z"d,d-�Z#d.d/�Z$d9d1d2�Z%d:d3d4�Z&d;d5d6�Z'dS)<�)�idnadata�N)�intranges_contain�	sxn--u[.。.。]�c@seZdZdZdS)�	IDNAErrorz7 Base exception for all IDNA-encoding related problems N)�__name__�
__module__�__qualname__�__doc__�rr�/usr/lib/python3.6/core.pyrsrc@seZdZdZdS)�
IDNABidiErrorz= Exception when bidirectional requirements are not satisfied N)rr	r
rrrrr
rsrc@seZdZdZdS)�InvalidCodepointz> Exception when a disallowed or unallocated codepoint is used N)rr	r
rrrrr
rsrc@seZdZdZdS)�InvalidCodepointContextzE Exception when the codepoint is not valid in the context it is used N)rr	r
rrrrr
rsrcCstjt|��S)N)�unicodedataZ	combining�unichr)�cprrr
�_combining_class$srcCstt|�tj|�S)N)r�ordr�scripts)rZscriptrrr
�
_is_script'srcCs
|jd�S)N�punycode)�encode)�srrr
�	_punycode*srcCs
dj|�S)Nz	U+{0:04X})�format)rrrr
�_unot-srcCst|�dkrdSdS)N�?FT)�len)�labelrrr
�valid_label_length1sr!cCst|�|rdndkrdSdS)N��FT)r)r �trailing_dotrrr
�valid_string_length8sr%Fc	Cspd}xJt|d�D]<\}}tj|�}|dkr>tdjt|�|���|dkrd}PqW|r`|r`dStj|d	�}|dkr|d}n |d
kr�d}ntdjt|����d}d}x�t|d�D]�\}}tj|�}|�r&|dkr�tdj|���|dk�r�d}n|dk�r�d}|dk�rZ|�s|}n||k�rZtd��q�|dk�r>tdj|���|dk�rNd}q�|dkr�d}q�W|�sltd��dS)NFr�z3Unknown directionality in label {0} at position {1}�R�AL�ANTr�Lz>First codepoint in label {0} must be directionality L, R or AL�EN�ES�CS�ET�ON�BN�NSMzHInvalid direction for codepoint at position {0} in a right-to-left labelz2Can not mix numeral types in a right-to-left labelzHInvalid direction for codepoint at position {0} in a left-to-right labelz0Label ends with illegal codepoint directionality)r'r(r))r'r()
r'r(r)r+r,r-r.r/r0r1)r'r(r+r))r)r+)r*r+r,r-r.r/r0r1)r*r+)�	enumeraterZ
bidirectionalrr�repr)	r Z	check_ltrZ
bidi_label�idxr�	directionZrtlZvalid_endingZnumber_typerrr
�
check_bidi?sR








r6cCs"tj|d�ddkrtd��dS)Nr�Mz0Label begins with an illegal combining characterT)r�categoryr)r rrr
�check_initial_combiner|sr9cCs<|dd�dkrtd��|ddks0|d
dkr8td��d	S)N��z--z4Label has disallowed hyphens in 3rd and 4th positionr�-rz)Label must not start or end with a hyphenT���)r)r rrr
�check_hyphen_ok�s
r>cCstjd|�|krtd��dS)N�NFCz%Label must be in Normalization Form C)r�	normalizer)r rrr
�	check_nfc�srAcCsHt||�}|dk�r
|dkr:tt||d��tkr:dSd}xZt|ddd�D]F}tjjt||��}|td�krxqPqP|td�td�gkr�d}PqPPqPW|s�dSd}x^t|dt|��D]H}tjjt||��}|td�kr�q�q�|td	�td�gk�rd}Pq�Pq�W|S|d
k�r@|dk�r<tt||d��tk�r<dSdSdSdS)
Ni rrTF�Tr*�Dr'i
 r=r=)rr�_virama_combining_class�rangerZ
joining_types�getr)r �pos�cp_value�ok�iZjoining_typerrr
�valid_contextj�s@


rKcCs�t||�}|dkrdd|ko.t|�dknr`t||d�dkr`t||d�dkr`dSdS|dkr�|t|�dkr�t|�dkr�t||dd�SdS|d	ks�|d
kr�|dkr�t||dd�SdS|dk�rx<|D]4}|d
kr�q�t|d��st|d��st|d�r�dSq�WdSd|k�o,dkn�rlx2|D]*}dt|�k�oVdkn�r:dS�q:WdSd|k�o�dkn�r�x2|D]*}dt|�k�o�dkn�r�dS�q�WdSdS)N�rr�lTFiuZGreeki�i�ZHebrewi�0u・ZHiraganaZKatakanaZHani`iii�i�)rrr)r rGZ	exceptionrHrrrr
�valid_contexto�s> (

"
 

 
rNcCst|ttf�r|jd�}t|�dkr,td��t|�t|�t|�x�t	|�D]�\}}t
|�}t|tj
d�rrqNqNt|tj
d�r�t||�s�tdjt|�|dt|����qNt|tj
d�r�t||�s�td	jt|�|dt|����qNtd
jt|�|dt|����qNWt|�dS)Nzutf-8rzEmpty LabelZPVALIDZCONTEXTJz-Joiner {0} not allowed at position {1} in {2}rZCONTEXTOz0Codepoint {0} not allowed at position {1} in {2}z0Codepoint {0} at position {1} of {2} not allowed)�
isinstance�bytes�	bytearray�decoderrrAr>r9r2rrrZcodepoint_classesrKrrrr3rNrr6)r rGrrHrrr
�check_label�s&

 
 "rScCs�yN|jd�}yt|�Wn"tk
r:tdj|���YnXt|�sLtd��|Stk
rbYnX|sptd��t|�}t|�t|�}t	|}t|�s�td��|S)N�asciiz$The label {0} is not a valid A-labelzLabel too longzNo Input)
r�ulabelrrr!�UnicodeEncodeError�unicoderSr�_alabel_prefix)r rrr
�alabels(
rYcCs�t|ttf�s:y|jd�}Wntk
r8t|�|SX|j�}|jt�r^|t	t�d�}nt|�|j
d�S|j
d�}t|�|S)NrTr)rOrPrQrrVrS�lower�
startswithrXrrR)r rrr
rU"s


rUTcCs,ddlm}d}y�x�t|�D]�\}}t|�}||dkr:|ntj||df�d}|d}	t|�dkrl|dnd}
|	d	ks�|	d
kr�|s�|	dkr�|r�|
dkr�||7}q|
dk	r�|	dks�|	dkr�|s�|	d
kr�|r�||
7}q|	d
krt��qWtjd|�Stk
�r&t	dj
t|�|dt|����YnXdS)zBRe-map the characters in the string according to UTS46 processing.r)�	uts46datar&��Zrr:N�VrC�3r7�Ir?z0Codepoint {0} not allowed at position {1} in {2})
r\r2r�bisectZbisect_leftr�
IndexErrorrr@rrrr3)Zdomain�
std3_rules�transitionalr\�outputrG�charZ
code_pointZuts46rowZstatusZreplacementrrr
�uts46_remap7s0


rhc	Cs�t|ttf�r|jd�}|r(t|||�}d}g}|r@|jd�}n
tj|�}x|rb|drb|d=qLW|sptd��|ddkr�|d
=d}x|D]}|jt	|��q�W|r�|jd	�d
j
|�}t||�s�td��|S)NrTF�.rzEmpty domainrr&T��.zDomain too longr=r=)rOrPrQrRrh�split�_unicode_dots_rer�appendrY�joinr%)	r�strict�uts46rdrer$�result�labelsr rrr
rSs0






rcCs�t|ttf�r|jd�}|r(t||d�}d}g}|s@tj|�}n
|jd�}x|rb|drb|d=qLW|sptd��|d	s�|d
=d}x|D]}|jt	|��q�W|r�|jd�dj
|�S)NrTFrirzEmpty domainrTr&r=r=)rOrPrQrRrhrmrlrrnrUro)rrprqrdr$rrrsr rrr
rRps*




rR)F)F)TF)FFFF)FFF)(r&rrbr�re�sysZ	intrangesrrDrX�compilerm�version_info�strrW�chrr�UnicodeErrorrrrrrrrrr!r%r6r9r>rArKrNrSrYrUrhrrRrrrr
�<module>sB

=	0
)



Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 134 B 0644
__init__.cpython-36.pyc File 134 B 0644
codec.cpython-36.opt-1.pyc File 2.96 KB 0644
codec.cpython-36.pyc File 2.96 KB 0644
compat.cpython-36.opt-1.pyc File 542 B 0644
compat.cpython-36.pyc File 542 B 0644
core.cpython-36.opt-1.pyc File 8.71 KB 0644
core.cpython-36.pyc File 8.71 KB 0644
idnadata.cpython-36.opt-1.pyc File 49.66 KB 0644
idnadata.cpython-36.pyc File 49.66 KB 0644
intranges.cpython-36.opt-1.pyc File 1.7 KB 0644
intranges.cpython-36.pyc File 1.7 KB 0644
uts46data.cpython-36.opt-1.pyc File 220.51 KB 0644
uts46data.cpython-36.pyc File 220.51 KB 0644