Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3.10/lib2to3/pgen2/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.10/lib2to3/pgen2/__pycache__/literals.cpython-310.pyc
o

��bcc�@sTdZddlZddddddd	d
ddd
�
Zdd�Zdd�Zdd�Zedkr(e�dSdS)z<Safely evaluate Python string literals without using eval().�N����
�
�	��'�"�\)
�a�b�f�n�r�t�vr	r
rcCs�|�dd�\}}|�d�sJ�t�|�}|dur|S|�d�rJ|dd�}t|�dkr1td|��z
t|d�}Wt|�StyItd|�d�wz
t|d�}Wt|�Stybtd	|�d�w)
Nr�r�x�z!invalid hex string escape ('\%s')��z#invalid octal string escape ('\%s'))�group�
startswith�simple_escapes�get�len�
ValueError�int�chr)�m�all�tail�esc�hexes�i�r&�-/usr/lib/python3.10/lib2to3/pgen2/literals.py�escapes*

����r(cCs�|�d�s|�d�sJt|dd����|d}|dd�|dkr&|d}|�|�s8Jt|t|�d����t|�dt|�ksDJ�|t|�t|��}t�dt|�S)Nr	r
rr�rz)\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3}))r�repr�endswithr�re�subr()�s�qr&r&r'�
evalString(s($r0cCs@td�D]}t|�}t|�}t|�}||krt||||�qdS)N�)�rangerr*r0�print)r%�cr.�er&r&r'�test2s��r6�__main__)�__doc__r,rr(r0r6�__name__r&r&r&r'�<module>s&�
	
�

Spamworldpro Mini