403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.124
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/parseentities.cpython-36.pyc
3

x2_��@s�dZddlZddlZejd�Zddd�Zdd�Zedkr�eej	�d	krVe
ej	d	�ZnejZeej	�d
kr|e
ej	d
d�Z
nejZ
ej�Zee�Zee
e�dS)
a� Utility for parsing HTML entity definitions available from:

      http://www.w3.org/ as e.g.
      http://www.w3.org/TR/REC-html40/HTMLlat1.ent

    Input is read from stdin, output is written to stdout in form of a
    Python snippet defining a dictionary "entitydefs" mapping literal
    entity name to character or numeric entity.

    Marc-Andre Lemburg, mal@lemburg.com, 1999.
    Use as you like. NO WARRANTIES.

�Nz8<!ENTITY +(\w+) +CDATA +"([^"]+)" +-- +((?:.|\n)+?) *-->cCsXd}|dkrt|�}i}x:tj|||�}|s.P|j�\}}}||f||<|j�}qW|S)Nr)�len�entityRE�search�groups�end)�text�pos�endpos�d�m�name�charcode�comment�r�@/opt/alt/python36/lib64/python3.6/Tools/scripts/parseentities.py�parsesrcCs�|jd�t|j��}xz|D]r\}\}}|dd�dkrdt|dd
��}|dkrZd|}qlt|�}nt|�}dj|j��}|jd|||f�qW|jd	�dS)Nzentitydefs = {
�z&#��z'\%o'� z    '%s':	%s,  	# %s
z
}
���)�write�sorted�items�int�repr�join�split)�f�defsrrr
r�coderrr�	writefile"s


r!�__main__rr�w)rN)�__doc__�re�sys�compilerrr!�__name__r�argv�openZinfile�stdinZoutfile�stdout�readrrrrrr�<module>s



Youez - 2016 - github.com/yon3zu
LinuXploit