CasperSecurity

Current Path : /lib/python3.10/html/__pycache__/
Upload File :
Current File : //lib/python3.10/html/__pycache__/__init__.cpython-310.pyc

o

`�wi��@s$dZddlZddlmZddgZdPdd�Zidd�d	d
�dd�d
d�dd�dd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d$�d%d&�d'd(�id)d*�d+d,�d-d.�d/d0�d1d2�d3d4�d5d6�d7d8�d9d:�d;d<�d=d>�d?d@�dAdB�dCdD�dEdF�dGdH�dIdJ��ZhdK�Z	dLdM�Z
e�dN�ZdOd�Z
dS)Qz*
General functions for HTML manipulation.
�N)�html5�escape�unescapeTcCsD|�dd�}|�dd�}|�dd�}|r |�dd�}|�d	d
�}|S)z�
    Replace special characters "&", "<" and ">" to HTML-safe sequences.
    If the optional flag quote is true (the default), the quotation mark
    characters, both double quote (") and single quote (') characters are also
    translated.
    �&z&amp;�<z&lt;�>z&gt;�"z&quot;�'z&#x27;)�replace)�s�quote�r
�$/usr/lib/python3.10/html/__init__.pyrs���
�
�u€���u‚�uƒ�u„�u…�u†�u‡�uˆ�u‰�uŠ�u‹�uŒ���uŽ�����u‘�u’�u“�u”�u•�u–�u—�u˜�u™�uš�u›�uœ���už�uŸ>~��������������������������������������������������������������������������	�
���
�������������	�
���
������������������������������rrrrrrrrrrrrrr r"r#r%r'r(r)r*r+r,r-r.r/r0r1r2r3r5r6�cCs�|�d�}|ddkrL|ddvrt|dd��d�d�}nt|dd��d��}|tvr1t|Sd|kr;d	ks@n|d
krBdS|tvrHdSt|�S|tvrTt|Stt|�ddd
�D]}|d|�tvrxt|d|�||d�Sq^d|S)Nrxr�#�xXry�;r�i�i��r�r����r)	�group�int�rstrip�_invalid_charrefs�_invalid_codepoints�chr�_html5�range�len)r�num�xr
r
r�_replace_charref[s&
 �r�z7&(#[0-9]+;?|#[xX][0-9a-fA-F]+;?|[^\t\n\f <&#;]{1,32};?)cCsd|vr|St�t|�S)a^
    Convert all named and numeric character references (e.g. &gt;, &#62;,
    &x3e;) in the string s to the corresponding unicode characters.
    This function uses the rules defined by the HTML 5 standard
    for both valid and invalid character references, and the list of
    HTML 5 named character references defined in html.entities.html5.
    r)�_charref�subr�)rr
r
rrzs)T)�__doc__�re�_re�
html.entitiesrr��__all__rr�r�r��compiler�rr
r
r
r�<module>s�
��������	�
���
������������������� �!�"�%

Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY