403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.84
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:/Python313/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/test/__pycache__/test_external_inspection.cpython-313.pyc
�

��i0���SSKrSSKrSSKrSSKrSSKrSSKJrJr SSKJ	r	 SSK
r
SrSSKJr SSKJ
r
 Sr"S	S
\R"5r\S:Xa\R("5 gg!\a \R"S5ef=f)�N)�	os_helper�
SHORT_TIMEOUT)�make_scriptF)�PROCESS_VM_READV_SUPPORTED)�get_stack_tracez8Test only runs when _testexternalinspection is availablec�H�[XU5n[R"5 U$)N)r�	importlib�invalidate_caches)�
script_dir�script_basename�source�	to_returns    �2C:\Python313\\Lib\test\test_external_inspection.py�_make_test_scriptrs ���J��@�I�
���!���c���\rSrSr\R
"\RS:g=(a \RS:gS5\R
"\RS:H=(a \(+S5S55r	\R
"\RS:g=(a \RS:gS5\R
"\RS:H=(a \(+S5S55r
Srg	)
�TestGetStackTrace��darwin�linuxz!Test only runs on Linux and MacOSz5Test only runs on Linux with process_vm_readv supportc��[R"S5nSn[R"5n[R
R
US5n[R"U5 US3n[R"U5 [USU5n[R"[RU[U5/5n[US5nUR!5n	SSS5 UR#W	S5 [%UR&5n[R,"U5 WR/5 UR15 UR3[4S9 /S	Qn
UR#X*5 SSS5 g!,(df   N�=f![(a UR+S5 N�f=f![R,"U5 WR/5 UR15 UR3[4S9 f=f!,(df   g=f)
Na�            import time, sys, os
            def bar():
                for x in range(100):
                    if x == 50:
                        baz()
            def baz():
                foo()

            def foo():
                fifo = sys.argv[1]
                with open(sys.argv[1], "w") as fifo:
                    fifo.write("ready")
                time.sleep(1000)

            bar()
            �
script_pkgz	/the_fifo�script�r�readyz0Insufficient permissions to read the stack trace)�timeout)�foo�baz�barz<module>)�textwrap�dedentr�temp_dir�os�path�join�mkdir�mkfifor�
subprocess�Popen�sys�
executable�str�open�read�assertEqualr�pid�PermissionError�skipTest�remove�kill�	terminate�waitr)�selfr�stack_trace�work_dirr�fifo�script_name�p�	fifo_file�response�expected_stack_traces           r�test_remote_stack_trace�)TestGetStackTrace.test_remote_stack_tracesz�����"���"��
�
�
�
!�X������h��=�J��H�H�Z� ��Z�y�)�D��I�I�d�O�+�J��&�I�K�
.��$�$�c�n�n�k�C��I�%N�O���$��_�	�(�~�~�/�H�%�� � ��7�3�-�a�e�e�4���	�	�$���������
����}��-�$� �
���[�?�7"�
!�%�_��#�
R��
�
�P�Q�
R���	�	�$���������
����}��-��%"�
!�sV�AG1�<F�
E1�/F�
AG1�1
E?	�;F�F �F#�F � F#�#AG.�.G1�1
G?c�j�[[R"55nURUSS5 g)Nr�test_self_trace)rr#�getpidr/)r7r8s  rrC�!TestGetStackTrace.test_self_traceMs)��&�b�i�i�k�2������Q��):�;r�N)�__name__�
__module__�__qualname__�__firstlineno__�unittest�skipIfr*�platformrr@rC�__static_attributes__rFrrrrs���
�_�_�S�\�\�X�-�I�#�,�,�'�2I�Kn�o�
�_�_�S�\�\�W�,�O�5O�1O�RI�J�/@�J�p�/@�b�_�_�S�\�\�X�-�I�#�,�,�'�2I�Kn�o�
�_�_�S�\�\�W�,�O�5O�1O�RI�J�<�J�p�<rr�__main__)rKr#r r	r*�test.supportrr�test.support.script_helperrr(r�_testexternalinspectionr�ImportError�SkipTestr�TestCaserrG�mainrFrr�<module>rWs����	���
�1�2��"��X�B�7��
9<��)�)�9<�v�z���M�M�O���G�X�
�
�
�V�
W�W�X�s�A'�'B

Youez - 2016 - github.com/yon3zu
LinuXploit