Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /lib64/python2.7/lib2to3/pgen2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/lib2to3/pgen2/literals.pyc
�
{fc@s�dZddlZi
dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6Zd�Zd�Zd�Zedkr�e�ndS(s<Safely evaluate Python string literals without using eval().i����Nstastbstfs
tns
trs	ttstvt't"s\cCs|jdd�\}}|jd�s-t�tj|�}|dk	rL|S|jd�r�|d}t|�dkr�td|��nyt|d�}Wq�tk
r�td|��q�Xn7yt|d�}Wn!tk
r�td	|��nXt	|�S(
Niis\txis!invalid hex string escape ('\%s')iis#invalid octal string escape ('\%s')(
tgroupt
startswithtAssertionErrortsimple_escapestgettNonetlent
ValueErrortinttchr(tmtallttailtescthexesti((s./usr/lib64/python2.7/lib2to3/pgen2/literals.pytescapes$


cCs�|jd�s4|jd�s4tt|d ���|d}|d |dkr_|d}n|j|�s�tt|t|����t|�dt|�ks�t�|t|�t|�!}tjdt|�S(NRRiiiis)\\(\'|\"|\\|[abfnrtv]|x.{0,2}|[0-7]{1,3})(RRtreprtendswithRtretsubR(tstq((s./usr/lib64/python2.7/lib2to3/pgen2/literals.pyt
evalString(s4

,"cCs_xXtd�D]J}t|�}t|�}t|�}||kr
|G|G|G|GHq
q
WdS(Ni(trangeRRR!(RtcRte((s./usr/lib64/python2.7/lib2to3/pgen2/literals.pyttest2st__main__(t__doc__RR
RR!R%t__name__(((s./usr/lib64/python2.7/lib2to3/pgen2/literals.pyt<module>s 

		
		

ZeroDay Forums Mini