403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.59
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/__pycache__/audit-tests.cpython-315.opt-2.pyc
R
>lqj�Zc���]PHs]PHs]PHs]PHs]QHGsQQ2sQsQs	Qs
Qs\OQ2s
Q	sQ
sQsQsQ
sQsQsQsQsQsQsQsQsQsQsQsQsQsQs Qs!Qs"Qs#Qs$Q s%Q!s&Q"s'Q#s(Q$s)Q%s*Q&s+Q's,Q(s-Q)s.\/Q*6XcG]Q+HG0s0\02\Ob]*s2\32\2*\ObQ,*P!P!)-�)�	swap_itemc�X`�\sQs]snP\1QksQsQsQs\	Q2s
QsQsUs
P!)�TestHookc�R�S9%fQUmV m,UmP
UmP!)F�)�raise_on_events�exc_type�seen�closed)�selfrrs&&&�%C:\Python315\\Lib\test\audit-tests.py�__init__�TestHook.__init__s%��.�4�4�"��� �
���	����c�4�[OU2U!�N)�sys�addaudithook�r�as&*r�	__enter__�TestHook.__enter__s��������rc�(�UO2P!r)�closers&*r�__exit__�TestHook.__exit__ s���
�
�rc��P	UmP!)T)r
�rs&rr�TestHook.close#s	����rc�T�UOTt,tFDp]*MJ
	to!ttoh)r)r	)r�is& r�seen_events�TestHook.seen_events&s"��"�i�i�(�i��!���i�(�(��(s�%c��UO%cP!UOOV12VO7cUO	QU*2gP!)Nz
saw event )r
r	�appendrr)r�event�argss&&&r�__call__�TestHook.__call__*sG���;�;�;���	�	���%��'��(�(�(��-�-��u� 4�5�5�)r)r
rrr	)�__name__�
__module__�__qualname__�__firstlineno__�RuntimeErrorr
rrr�propertyr!r'�__static_attributes__�__classdictcell__��
__classdict__s@rrrs>����(,�l������)��)�6�6rrc�8�V6wc[U8QU802gP!)� should equal ��AssertionError��x�ys&&r�assertEqualr:3s"���v���u�N�1�%�8�9�9�rc�8�V7c[U8QU802gP!)z should be in r5��el�seriess&&r�assertInr?8s#��	����v�^�F�:�>�?�?�rc�8�V7c[U8QU802gP!)z should not be in r5r<s&&r�assertNotInrA=s#��	�|���v�%7��z�B�C�C�rc��[U2[U26wc[U8QU802g[9PIc%Q[V22D%fJP	L	P
LQ[V222%c[U8QU802gP!)r4c3�:�SF �DvqV6gw�	J	P!3hrr)�.0�ix�iys&  r�	<genexpr>�&assertSequenceEqual.<locals>.<genexpr>Es��)���)���2�8�)�s�)�lenr6�any�zipr7s&&r�assertSequenceEqualrLBsl��
�1�v��Q�����u�N�1�%�8�9�9�
�s�
,�#�a�)�
,�s�s�s�
,�#�a�)�
,�,�,���u�N�1�%�8�9�9�-rc#�| �Pw�P![c#o[S[2%cgPo=P!Po=hh9h3hr)�
BaseException�
isinstancer6)�ex_type�exs& r�assertRaisesrRIs4���@�
���@��b�.�)�)��*��@�s(�<��<�	9�9�4�4�<�9�<c�(�[29^tt^2o[OQ]]]2[UO]*]*Q2[UO]*]*Q2PPP2P!)%fhP!9h)�
test_event)���)rr�auditr:r	)�hooks r�
test_basicrZTsU��	���t��	�	�,��1�a�(��D�I�I�a�L��O�\�2��D�I�I�a�L��O�Y�/�
����s�A"B�B	�	B	c	�J�[QQ59^tt^2o[29^tt^2o[OQ2[QUO2[QUO2PPP2PPP2P!)%fhK9h)%fhP!9h)�sys.addaudithook�rrT)rrrXr?r!rA��hook1�hook2s  r�test_block_add_hookra[sf��
�"4�	5�	5��
�Z�Z�5��I�I�l�#��\�5�#4�#4�5���e�&7�&7�8��
6�	5�
�Z��
6�	5�	5�s/�B�AA>	�,B�>B
�B
�	B�B"	�B"	c�8�[[29^tt^2[Q[Q59^tt^2o[29^tt^2oPPP2PPP2PPP2P!)%fhK"9h)%fhK-9h)%fhP!9h)r\)rr)rRrNrr^s  r�!test_block_add_hook_baseexceptionrces_��	�m�	$�	$�
�.��
�
�
����u���	
�
%�	$�
���	
�
��
%�	$�	$�sL�B�A5	�A"
�A5	�B�"A2�+A2�-A5	�5B
�>B
�B�B	�B	c
��]PHoQoUOU2o[29^tt^2o[VO	UOU222[QQ29^tt^2oUO
V2PPP2[QQ29^tt^2o[VOU22PPP2[OQ2PPP2WOTTt,tFD vqVUQ6XfJU]*U]*1MJ"	ooo[VqUO1,]*2UOTTt,tFDvqVUQ6XfJU]*MJ	ooo[Vr,2UOTTt,tFDvqVUQ6XfJUMJ	ooo[UQ,2P!)%fhCK39h)%fhCK9h[OQ2h9h)%fhCK 9httoohttoohttooh)rztest-marshal.bin�wb�rbz
marshal.dumpsz
marshal.loadszmarshal.load�r�b�crUrVrW)
�marshal�dumpsrr:�loads�open�dump�load�os�unlinkr	rL�version)rj�o�payloadrY�f�er�actuals        r�test_marshalrxps���� �A��m�m�A��G�	���t��A�}�}�W�]�]�1�%5�6�7�	*��(�$�/�/�1����Q�"�0��(�$�/�/�1��A�|�|�A��/�0�
�I�I�(�)�
�(,�y�y�
I�y�t�q�A��4H�l�q��t�Q�q�T�l�y�F�
I���W�_�_�!5� 6�� :�;�#�y�y�
A�y�t�q�A��,@�d�a��d�d�y�F�
A���	�*� �I�I�
=�I�D�A��n�)<�a�a�I�F�
=���� 0�1�0�/�/��/�/�/��
�I�I�(�)��
����J��B��>s��*G)�G�*F&	�<G�F:	�3G�;G)�(
G=�:G=�
H�
H�<
H	�H	�&F7
�/F7
�1	G�:G
�G
�	G�G&�&G)�)G:	�2G:	c	��]PHoQQ2oUOU22oUOQ2o[QUOU22[	QQ59^tt^2o[[29^tt^2UOU2PPP2UOU2PPP2P!)%fhK+9h)%fhP!9h)rc�(`�\sQs]�snQsQsUsP!)� test_pickle.<locals>.PicklePrintc��[Q1!)�Pwned!)r})�str)r�ps&&r�
__reduce_ex__�.test_pickle.<locals>.PicklePrint.__reduce_ex__�s
����#�#rr)r)r*r+r,r�r/r0r1s@r�PicklePrintr{�s����	$�	$rr�r}zpickle.find_classr]rg)�picklerkr:rlrrRr-)r�r��	payload_1�	payload_2rYs     r�test_pickler��s����$�$����[�]�+�I����5�6�I���&�,�,�y�1�2�	�"5�	6�	6�$�
�,�
'�
'��L�L��#�(�	���Y��
7�	6�
'�
'��
7�	6�	6�s0�&C�>B3	�C�3C
�<C
�>C�C	�C	c��QQ2oQQ2oQQU2oU2o[29^tt^2oQUmU1Um[OQ*OV!12UOUm]{UmVmPPP2WOTTt,tFD vqSUQ6XfJU]*U]*1MJ"	ooo[UQ	1UQ1UQ1WQ
1,U2P!)%fhKc9httooh)c��\sQs]�sQsP!)�test_monkeypatch.<locals>.Ar�r)r*r+r,r/rrr�Ar�����rr�c��\sQs]�sQsP!)�test_monkeypatch.<locals>.Brr�rrr�Br��r�rr�c��\sQs]�sQsP!)�test_monkeypatch.<locals>.Crr�rrr�Cr��r�rr��X�	__bases__zobject.__setattr__r)�	__class__)rr)r��type�__dict__�__set__r
�new_attrr�r	rL)r�r�r�rrYrvrws       r�test_monkeypatchr��s���
�
�
�
�
�A�
�	
��A�	���t���
��d����
�
�k�"�*�*�1�d�3��Z�Z��
���
���
�(,�y�y�
N�y�t�q�A�9M�4M�l�q��t�Q�q�T�l�y�F�
N��
�Z��1�k�*�Q��,<�q�+�>N�O�QW��
���Os�AC*�%
C=�7C=�*C:	�3C:	c�t`
`�]PHoUO2Oo]PHnU1Qko]PHn
U
1Qko[
Q.Q59^tt^2o[UQ1[[OQ1[]Q1[UQPPPPP
Q	1	V 1UQ
2U1UQ
2P1UQ2U1UQ2P1UQ2]U1UQ2]P1UQ
2U1UQ
2P1UQ2UQ]1UQ2U11FD7uqgU%fJ[[29^tt^2UUPPP2J9	PPP2WOTT	t,tFD1vq�UQ6XfJU	]*%fJU	]*U	]*1MJ3	o
oo	UOTT	t,tFD1vq�UQ6XfJU	]*%cJU	]*U	]*1MJ3	ooo	[UQ1[OQ1QUQ1U%cUQ1LPR%cUQ1LPR%cQLPR%cUQ1LPR%cQLPUQ2%cUQ1LPUQ2%cQLPR%cUQ1LPR%cQLPUQ2%cUQ1LPUQ2%cUQ1LP,Tt,tFDoUeJ	UMJ
	toU
2[,U2P![cPoCK�h9h[cPnCK�h9h[cPn
CK�h9h[cXb6Xc	Po[ggh9h)%fhCJ+9h)%fhCK�9htto	ohtto	ohttoh)rc�4:�R%c[RUP2!P!r��getattr)�name�readlines&�r�rl�test_open.<locals>.rl�s�����8�T�4�0�0�rc�4:�R%c[RUP2!P!rr�)r��_remote_debuggings&�r�rd�test_open.<locals>.rd�s�����,�d�D�9�9�rrmr]�rrfre�wc��]!)rUr�rs*r�<lambda>�test_open.<locals>.<lambda>�s��r�read_history_file�write_history_file�append_history_file�read_init_file�BinaryWriter���BinaryReaderr)rWr�)�
~/.historyr�)r�r�)r�r)z<readline_init_file>r�)�ssl�create_default_context�load_dh_params�ImportErrorr�r�rrmr�
executablerRr-�NotImplementedErrorr	rL)�testfnr�r�r�r�rY�fnr&rvr�actual_mode�actual_flagr r�r�s&            @@r�	test_openr��s@������3�3�5�D�D�����!� ��
�6�(�	+�	+�t�
�6�3��
�3�>�>�4�(�
�1�d�O�
�6�3��D�$��e�\�J�
�$�
�#�
$�f�-�
�#�
$�d�+�
�$�
%�v�.�
�$�
%�t�,�
�%�
&��6�2�
�%�
&��4�0�
� �
!�6�*�
� �
!�4�(�
��
���q�1�
��
��(�
�I�B�"���l�+�+����I�,�+�'
�
,�>-1�I�I�N�I�D�A��f��<��1���<�A�a�D�!�A�$�<�I�K�N�,0�I�I�R�I�D�A��f��<�Q�q�T�T�<�A�a�D�!�A�$�<�I�K�R����
�����%����
�"0����d�!)���
�t�'/�#�T�!)���
�t�'/�#�T�!#�$9�!:�!:���
��')�*?�'@�'@�#�d�!)���
�t�19�-�t�"$�^�"4�"4����$�"$�^�"4�"4����$��	
���"�%
�A��	
�*	�-�0��K�(��g������
�������!� ��!��B+���+�)-��*�*��
��,�+�+��)
,�	+�	+��>O��R��	
s��J&�J:�K�B$L�3L�L
�K"�L�8
L)�
L)�L)�
L/�L/�%L/�=L5�
L5�&	J7�0J7�6J7�:	K�K�
K�	K�K�K�"	K=�,K=�3
K=�=L
�L�	L�
L�L&	�L&	c�`�,nU1Qko[OU2o[29^tt^2o[Q2P
Um[Q2P	Um[Q2]Um[Q2]UmPPP2[OU2[Q,]*R2P!)%fhK<9h[OS2h9h)c�:�UO[OO6XcRO	U2P!P!r)�f_coderr'�__code__r$)�framer%r&�traceds&&*�r�trace�test_cantrace.<locals>.traces,����<�<�8�,�,�5�5�5��M�M�%� �6r�1�2�3�4�call)r�settracer�eval�__cantrace__rL)r��oldrYr�s   @r�
test_cantracer�s����
�F�!��,�,�u�
�C��
�Z�Z�4���I�!&�D����I�!%�D����I�!"�D����I�!"�D��#�&	���S�����1��f�-�+�Z��&	���S��s)�C�A	B1�=C�1C	�:C	�<C�Cc���]PHo[29^tt^2oUOP]2[UO]*]*Q*Q2PPP2P!)%fhP!9h)r:NrVN)����)�mmaprr:r	)r�rYs  r�	test_mmapr�<sC���	���t��	�	�"�a���D�I�I�a�L��O�B�'��1�
����s�>A � A1	�)A1	c��]PHo]PHo[29^tt^2oUOUOQ2UOUO2UO2]]]2PPP2[29^tt^2oUOUO
]2UOUO22PPP2[29^tt^2oUO[Q2](*2PPP2P!)%fhK�9h)%fhKa9h)%fhP!9h)rzctypes.string_at)rrr)
�ctypes�_ctypesr�
call_function�
_memmove_addr�	CFUNCTYPE�c_voidp�_memset_addr�cast�POINTER�c_char�	string_at�id)r�r�rYs   r�test_ctypes_call_functionr�Ds�����	���t����f�2�2�I�>�	������(��)<�)<�=�a��A�F�	
�
���t����F�N�N�1�%�v�~�~�f�m�m�'D�E�
�
���t�����.�/�"�4�5�
��
���
���
���s6�AD�;D�"D-�D	�D	�D*	�#D*	�-D>	�6D>	c��]PHoQoQQ,o[29^tt^2oUOOVQ2PPP2P!)%fhP!9h)rsxxxsyyyszzzr)�multiprocessing.utilr�util�spawnv_passfds)�multiprocessing�exer&rYs    r�test_posixsubprocessr�Ys?���
�C��F��D�	���t����+�+�C�r�:�
����s�A�A	�A	c�p`�QnU1Qko[OU2R[m[Q2g)c�N�U[Ic[OVU2P!P!r)r-r�__excepthook__)r�	exc_value�exc_tbs&&&r�
excepthook�#test_excepthook.<locals>.excepthookds���<�'����x�F�;�(rc�$:�UQ6Xc�[U]*U]*2%f#[QU]*8QU]*8Q02gU]*R6wc[QU]*QR02g[U[	U]*22P!P!)zsys.excepthookzExpected isinstance(z, �)�	Expected � == )rO�	TypeError�
ValueError�print�repr)r%r&r�s&&�rrY�test_excepthook.<locals>.hookhs�����$�$��d�1�g�t�A�w�/�/��"6�t�A�w�k���Q��{�RS� T�U�U��A�w�*�$� �9�T�!�W�I�T�*��!F�G�G��%��d�1�g��'�%rzfatal-error)rrr�r-)rYr�s @r�test_excepthookr�cs/���<�(����T���C�N�
�}�
%�%rc�`�]QHGoQnU1Qko[OU2R[mU[Q2Q2P!)r)�err_formatunraisablec��P!rr)�hookargss&r�unraisablehook�+test_unraisablehook.<locals>.unraisablehookxs��rc��:�UQ6XcaU]*R6wc[QU]*QR02g[U[U]*O2U]*O2P!P!)zsys.unraisablehookr�r�)r�r�r�r��err_msg)r%r&rs&&�rrY�!test_unraisablehook.<locals>.hook{s]����(�(��A�w�.�(� �9�T�!�W�I�T�.�9I�!J�K�K��%��d�1�g�/�/�0�$�q�'�/�/�B�)rznonfatal-errorz%Exception ignored for audit hook test)�	_testcapir�rrrr-)r�rYrs  @r�test_unraisablehookrus=���.�
�C����T��'�C����&6�7�@�Brc���]QHGoGoGoGoQo[
OU2UUQ2oUU]2UUQ2[Q2g[cLh9hSO2oSS2P!)r)�OpenKey�EnumKey�CloseKey�HKEY_LOCAL_MACHINEc�V�UOQ2%fP![U,UN3P!)zwinreg.��
startswithr��r%r&s&&rrY�test_winreg.<locals>.hook�s#�����	�*�*��
�e��d�r�Softwarei'z%Expected EnumKey(HKLM, 10000) to fail)
�winregr	r
rrrrr-�OSError�Detach)r	r
rrrY�k�kvs       r�test_winregr�sy��E�E��
���T���"�J�/�A��A�q�M�D���5���B�C�C���
��
��

����B��R�Ls�	A�	A�A�Ac�>�]PHoQo[OU2UO2UOUOUO
2oUO
Q2UO2P![cKh9hSO2h9h)rc�V�UOQ2%c[U,UN3P!P!)zsocket.rrs&&rrY�test_socket.<locals>.hook��%�����I�&�&��%��$��'r)z	127.0.0.1i�)	�socketrr�gethostname�AF_INET�SOCK_STREAM�bind�	Exceptionr)rrY�socks   r�test_socketr$�s��� ����T��
�����=�=�����);�);�<�D���	�	�%�&�	
�
�
����
��
��	
�
�
��s*�A9�9	B�B�B
�B�B
�
Bc���]PHoQo[OU2UO]Q5[	2oU,oUOU2UO
U2P!)rc�V�UOQ2%c[U,UN3P!P!)zgc.rrs&&rrY�test_gc.<locals>.hook�s%�����E�"�"��%��$��#r)�
generation)�gcrr�get_objects�object�
get_referrers�
get_referents)r)rYr8r9s    r�test_gcr.�sR��
� ����T���N�N�a�N� ���A�	
��A����Q�����Q�rc�"�]PHoQo[OU2UOO	Q2oUOQQ2UO2P![c[QQ2K+h9hSO2h9h)rc�d�UOQ2%c[U,UQ*N3P!P!)zhttp.client.:rUNNrrs&&rrY�test_http_client.<locals>.hook�s)�����N�+�+��%�#�$�r�(�#�,rzwww.python.org�GET�/zhttp.client.sendz
[cannot send])	�http.clientrr�client�HTTPConnection�requestrr�r)�httprY�conns   r�test_http_clientr:�su���$����T���;�;�%�%�&6�7�D�����U�C� �	
�
�
����3�
� �/�2�3��	
�
�
��s)�A�	A9�)
A9�6A<�8A9�9A<�<Bc���]PHoQo[OU2UOQ2oUO	Q2o[UOQ2%c/UO
P
2UOQ2[Q2gUO2UO2P!SOcK5h9hSO2SO2h9h)rc�V�UOQ2%c[U,UN3P!P!)zsqlite3.rrs&*rrY�test_sqlite3.<locals>.hook�s%�����J�'�'��%��$��(rz:memory:�enable_load_extension�testz'Expected sqlite3.load_extension to fail)�sqlite3rr�connect�
Connection�hasattrr>�load_extensionr-�OperationalErrorr)r@rY�cx1�cx2s    r�test_sqlite3rH�s���� ����T��
�/�/�*�
%�C�
�
�
�Z�
(�C���7�%�%�'>�?�?��%�%�e�,�
N��"�"�6�*�#�#L�M�M��	�	���	�	���
�+�+�
��
��
	�	�	���	�	��s<�C�C�0B.�C�.C�>C�?C�C�C�"C'c�\�]PHoQoUOU2UO2P!)rc��UOQ2%c)[V]*OO2P!P!�zsys.)rr�r��co_namers&&rrY�test_sys_getframe.<locals>.hook�s.�����F�#�#��%�a����/�/�0�$r)rr�	_getframe�rrYs  r�test_sys_getframerP�s#���1����T���M�M�Orc�\�]PHoQoUOU2UO2P!)rc�V�UOQ2%c[U,UN3P!P!rKrrs&&rrY�)test_sys_getframemodulename.<locals>.hook�s%�����F�#�#��%��$��$r)rr�_getframemodulenamerOs  r�test_sys_getframemodulenamerU�s&��� ����T�����rc�8`�]PHoQo[OU2UO2nRO	2U1QkQ2oUOU2Q2oRO	2UO
U22oUO2P!)rc�P�UOQ2%c[V2P!P!)�_thread.)rXzcpython.PyThreadStateztest.rrs&&rrY�test_threading.<locals>.hook
s"�����J�K�K��%��Lrc�6:`�\sQsQsnQsU1QksQsUsP!)�!test_threading.<locals>.test_func�c��Q!)z<test_func>rrs&r�__repr__�*test_threading.<locals>.test_func.__repr__s��=rc�V:�[OQ2RO2P!)ztest.test_func)rrX�release)r�locks&�rr'�*test_threading.<locals>.test_func.__call__s����I�I�&�'��L�L�Nrr)r)r*r+r,r^r'r/r0)r2rbs@�r�	test_funcr[s����0�	�	rrdr)�_threadrr�
allocate_lock�acquire�start_new_thread�start_joinable_thread�join)rerYrdr �handlerbs     @r�test_threadingrlsv��������T��� � �"�D��L�L�N���	� � ���b�1�A��L�L�N�
�
*�
*�9�;�
7�F�
�K�K�Mrc�`�]PHoQQ[2nU1Qko[OU2UO	QQ2P!RcP!h9h)rc��\sQsQsQsP!)�1test_threading_abort.<locals>.ThreadNewAbortError�$rr�rrr�ThreadNewAbortErrorro$r�rrqc�&:�UQ6XcR2gP!)zcpython.PyThreadState_Newr)r%r&rqs&&�rrY�"test_threading_abort.<locals>.hook's����/�/�%�'�'�0rc��P!rrrrrr��&test_threading_abort.<locals>.<lambda>.s��rr)rer"rrrh)rerYrqs  @r�test_threading_abortrv sN����
�i�
�(����T��
�� � ��r�2���
��
�s�A�A�A�Ac��]PHoQo[OU2UOQ2P![coSO
Q6wcgPo=P!Po=hh9h)rc�^�UOQ2%c[V]*2P!P!)z_wmi.rrs&&rrY�!test_wmi_exec_query.<locals>.hook7s$�����G�$�$��%�a��!�%rz#SELECT * FROM Win32_OperatingSystem�)�_wmirr�
exec_query�WindowsError�winerror)r{rYrvs   r�test_wmi_exec_queryr4sR���"����T������=�>����
�:�:�������s�3�	A�A�A�A�Ac��]PHoQo[OU2UOQ2UOQ2UO	UO
2UO
2UOQ2UOUOUOQ5P[m	UO2UO
2P!)rc�V�UOQ2%c[U,UN3P!P!)zsyslog.rrs&&rrY�test_syslog.<locals>.hookGrr�pythonr?�test2)�	logoption�facility)
�syslogrr�openlog�
setlogmask�	LOG_DEBUG�closelog�
LOG_NDELAY�
LOG_LOCAL0�argv)r�rYs  r�test_syslogr�Ds���� ����T��
�N�N�8��
�M�M�&��
���f�&�&�'�
�O�O��
�M�M�'��
�N�N�V�.�.��9J�9J�N�K��C�H�
�N�N��
�O�O�rc��]PHoQo[OU2UO2FDo[	U[
2%fJJ	P!)rc��P!rrr�s*rr�� test_not_in_gc.<locals>.<lambda>\s��dr)r)rrr*rO�list)r)rYrss   r�test_not_in_gcr�Ys6��
��D����T��
�^�^�
���a����rc��`�]PHoU1Qko[OU2UO]2UOQ2UOP2P![cP!h9h)rc�:�UOQ2%c,RQ6Xc[U,UN3P!RQ6Xc[Q2gP!P!)ztime.r��failzhook failed)rr�r6)r%r&�modes&&�rrY�test_time.<locals>.hookgsD������G�$�$��w���e�#�d�#����$�]�3�3� �%rg�?)�timerr�sleepr�)r�r�rYsf  r�	test_timer�dsT����4����T���J�J�q�M��J�J�v��
��
�
�2����
��
�s�A�	A(�#A(�'A(c�t�]PHoQoUOU2UOO]]P2P!)rc�P�UOQ2%c[V2P!P!)zsys.monitoringrrs&&rrY�3test_sys_monitoring_register_callback.<locals>.hookys!�����,�-�-��%��.r)rr�
monitoring�register_callbackrOs  r�%test_sys_monitoring_register_callbackr�vs0�������T���N�N�$�$�Q��4�0rc
��]PHoQo[OU2UOVO]]]]]]2P!)rc�0�UQ6Xc[V2P!P!)z_winapi.CreateNamedPipe�r�rs&&rrY�)test_winapi_createnamedpipe.<locals>.hook�s���-�-��%��.r)�_winapirr�CreateNamedPipe�PIPE_ACCESS_DUPLEX)�	pipe_namer�rYs&  r�test_winapi_createnamedpiper��s;�������T�����I�'A�'A�1�a��A�q�RS�Trc��]PHoUOQ2UO]	2[Q2g[cP!h9h)rc��P!rr)r&s*rr��%test_assert_unicode.<locals>.<lambda>�s��4rzExpected sys.audit(9) to fail.)rrrXr-r�)rs r�test_assert_unicoder��sF������'�(�=��	�	�!���;�<�<���
��
�s�7�	A�A�Ac��```�]PHo[O2oPnPnPnUUU1Qko[OU2UOQP	Q59^tt^2oUO
Q2UO2[OVO2[RU2[RUO2[RUO2PPP2P!)%fhP!9h)rc�:�UQ7cP![V2S9Q6XcU]*nU]*nP!Q6XcU]*nP!P!)�sys.remote_exec�cpython.remote_debugger_script)r�r�r�)r%r&�	event_pid�event_script_path�remote_event_script_paths&&���rrY�"test_sys_remote_exec.<locals>.hook�sB����M�M��
�e���"� ��G�	�$(��G�!�1�+/��7�(�2rzw+)r��deleteza = 1+1
)�tempfilerp�getpidrr�NamedTemporaryFile�write�flush�remote_execr�r:)r��pidrY�tmp_filer�r�r�s    @@@r�test_sys_remote_execr��s�����
�)�)�+�C��I���!��3����T��	�	$�	$�$�t�	$�	<�	<�����{�#���������]�]�+��I�s�#��%�x�}�}�5��,�h�m�m�<�

=�	<�	<�	<�s�A:C!�!C2	�*C2	c
�.�]PHo[29^tt^2oUOQ2UOQ2UOQ2UOQQ2UOQ2UOQ2PPP2WOTTt,tFDvq#UQ6XfJUMJ	ooo[	QP[
O[
O[
O1QP[
O[
O[
O1Q	P[
O[
O[
O1Q
P[
O[
O[
O1QP[
O[
O[
O1QP[
O[
O[
O1Q[OOPPP1,U2P!)%fhCK�9httooh)r�	importlib�email�
pythoninfoz.audit_test_data.submoduler?�test.audit_test_data.submodule2r�import�test.audit_test_data.submodule�test.audit_test_data)r�r�
import_moduler	rLr�path�	meta_path�
path_hooks�unittest�mock�ANY�r�rYrvrrws     r�test_import_moduler��sc���	���t�����,�����(�����-���� <�f�E���� A�B�����,�

�!�I�I�
7�I�D�A��h��a�a�I�F�
7��
�d�C�H�H�c�m�m�S�^�^�D�
�4����3�=�=�#�.�.�I�
-�t�S�X�X�s�}�}�c�n�n�]�
#�T�3�8�8�S�]�]�C�N�N�S�
.��c�h�h��
�
�s�~�~�^�
�$����#�-�-����H�
�(�-�-�+�+�T�4��>�	
�	��
����8s�A(G=�
H�(H�=H	�H	c
���]PHo[29^tt^2o[Q2[Q2[Q2[Q]QQ-Q5[Q2[Q	2PPP2WOTTt,tFDvq#UQ
6XfJUMJ	ooo[	QP[
O[
O[
O1QP[
O[
O[
O1QP[
O[
O[
O1QP[
O[
O[
O1QP[
O[
O[
O1Q	P[
O[
O[
O1Q	[OOPPP1,U2P!)%fhCK�9httooh)
rr�r�r�zaudit_test_data.submodule�__package__r?)�level�globalsr�rr�r�r�)r�r�
__import__r	rLrr�r�r�r�r�r�r�s     r�test_builtin__import__r��sG���	���t��;���7���<� ��.�a�-�QW�AX�Y��4�5��;��

�!�I�I�
7�I�D�A��h��a�a�I�F�
7��
�d�C�H�H�c�m�m�S�^�^�D�
�4����3�=�=�#�.�.�I�
-�t�S�X�X�s�}�}�c�n�n�]�
#�T�3�8�8�S�]�]�C�N�N�S�
.��c�h�h��
�
�s�~�~�^�
�$����#�-�-����H�
�(�-�-�+�+�T�4��>�	
�	��
����8s�AG�6
G1�G1�G.	�&G.	c
��]PHo[[2QQ29^tt^2[29^tt^2o]PHo]PHo]PHo]QHGo]PH"o]PH&oPPP2PPP2WOTTt,tFDvqxUQ6XfJUMJ	o	oo[QP[O[O[O1QP[O[O[O1QP[O[O[O1QP[O[O[O1Q	P[O[O[O1Q
P[O[O[O1Q
[ O"O$PPP1,U	2P!)%fhCK�9h)%fhCK�9httooh)rr�r?)�	submoduler�r�r�r�r�r�r)r�rr�rr�r��audit_test_datar��test.audit_test_data.submodule2rr	rLrr�r�r�r�r�r�)
r�rYr�r�r�r?rrvrrws
          r�test_import_statementr��sA���	�7�9�m�V�	4�	4�
�Z�Z�4����2�2��
�
5�!�I�I�
7�I�D�A��h��a�a�I�F�
7��
�d�C�H�H�c�m�m�S�^�^�D�
�4����3�=�=�#�.�.�I�
#�T�3�8�8�S�]�]�C�N�N�S�
-�t�S�X�X�s�}�}�c�n�n�]�
.��c�h�h��
�
�s�~�~�^�
�$����#�-�-����H�
�(�-�-�+�+�T�4��>�	
�	���Z�Z��
5�	4�	4��8s:�G*�G	�G*�/
G>�G>�G'
�G'
�!	G*�*G;	�3G;	�__main__)�suppress_msvcrt_asserts:rVNN)4�
contextlibrpr�
unittest.mockr��test.supportrrr:r?rArL�contextmanagerrRrZrarcrxr�r�r�r�r�r�r�r�rrr$r.r:rHrPrUrlrvrr�r�r�r�r�r�r�r�r�r�r)r�r�r?r�rrr�<module>r�s:���	�
��"� 6� 6�H:�
@�
D�
:����@��@�0�9��2�4 �*�@Y)�x.�B2�6�*P�&�$B�$�.�,�$�$�2���2
�(� �*!�
�$1�U�=�=�:�2�2�8�z��4����8�8�A�;�D��I�d�O�S�X�X�b�\�"�
r

Youez - 2016 - github.com/yon3zu
LinuXploit