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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/test/__pycache__/test_ioctl.cpython-315.opt-1.pyc
R
>lqjG!c�B�]PHs]PHs]PHs]PHs]PHs]PHs]QHGs]QH G	s	G
s
]QH,Gs\Q2s
\Q2sQQ\O2s\O"\\Q2Q	2Q
Q\O22s\Q6Xc\O*2P!P!)
�)�support)�	os_helper�threading_helper)�
import_module�fcntl�termiosc�t`�\sQs]
sn\Q2sQsQsQsQQks	QQks
QQksQsQ	s
Q
sQsUsP!)
�
IoctlTestsTtyc
��[O[Q2o[QQ2oU9^tt^2[OV![OQ]22oPPP2[OQW2]*oU[O2[O]217c[
OQ2gP![c[
OQ2gh9h)%fhK�9h)�	TIOCGPGRP�/dev/tty�rbzUnable to open /dev/tty�izBNeither the process group nor the session are attached to /dev/tty)r�
get_attributer�open�OSError�unittest�SkipTestr�ioctl�struct�pack�unpack�os�getpgrp�getsid)�clsr�tty�r�rpgrps&    �$C:\Python315\\Lib\test\test_ioctl.py�
setUpClass�IoctlTestsTty.setUpClasss����)�)�'�;�?�	�	?��z�4�(�C��S����C�F�K�K��Q�,?�@�A���
�
�c�1�%�a�(�������r�y�y��|�4�4��#�#�%?�@�
@�5��
�	?��#�#�$=�>�>�	?��
�S�s"�C�,C3�	C0�C0�3D	�<D	c	�h�[O2[O]21o[QQ29^tt^2oQo[OU[OU2oUOU[2[U2OQ2]*oUOVQ2Qo[OU[OU2oUOU[2[U2OQ2]*oUOVQ2[OU[O[U22oUOU[2[U2OQ2]*oUOVQ2PPP2P!)%fhP!9h)rrr
rz        �        )
rrrrrrrr�assertIsInstance�bytes�
memoryview�cast�assertIn��self�idsr�bufrrs&     r�test_ioctl_immutable_buf�&IoctlTestsTty.test_ioctl_immutable_bufs3���z�z�|�R�Y�Y�q�\�*��
�*�d�
#�
#�s��C����C��!2�!2�C�8�A��!�!�!�U�+��q�M�&�&�s�+�A�.�E��M�M�%�%��C����C��!2�!2�C�8�A��!�!�!�U�+��q�M�&�&�s�+�A�.�E��M�M�%�%����C��!2�!2�J�s�O�D�A��!�!�!�U�+��q�M�&�&�s�+�A�.�E��M�M�%�%�'$�
#�
#�
#�s�EF � F1	�)F1	c��[O2[O]21o[QQ29^tt^2o[	Q2o[
O
U[OU2oUOU]2[U2OQ2]*oUOVQ2PPP2P!)%fhP!9h�rrr
rr#)
rrrr�	bytearrayrrrr�assertEqualr&r'r(r)s&     r�test_ioctl_mutable_buf�$IoctlTestsTty.test_ioctl_mutable_buf6s����z�z�|�R�Y�Y�q�\�*��
�*�d�
#�
#�s��F�#�C����C��!2�!2�C�8�A����Q��"��s�O�(�(��-�a�0�E��M�M�%�%�$�
#�
#�
#�s�A5C�C	�	C	c��[O2[O]21o[QQ29^tt^2o[	Q2o[U2o[OU[OUP
2oUO[U2U2UOU[
2[U2OQ2]*oUOVa2PPP2P!)%fhP!9hr0)rrrrr1r%rrrrr2r$r&r'r()r*r+rr,�save_bufrrs&      r�test_ioctl_no_mutate_buf�&IoctlTestsTty.test_ioctl_no_mutate_buf?s����z�z�|�R�Y�Y�q�\�*��
�*�d�
#�
#�s��F�#�C��S�z�H����C��!2�!2�C��?�A����U�3�Z��2��!�!�!�U�+��q�M�&�&�s�+�A�.�E��M�M�%�%�$�
#�
#�
#�s�B C+�+C<	�4C<	c��[OQ2oUOoQoUdDUOU,V**2UO[	U2U*U2U!UOU2U!)ri���)�array�itemsize�extendr2�len�append)r*�nbytesr,�intsize�fills&&   r�_create_int_buf�IoctlTestsTty._create_int_bufJsm���k�k�#����,�,�������J�J��v��!2�3�4����S��X��/��8��
�
�J�J�t���
�c��[O2[O]21oUOU2o[	QQ29^tt^2o[
O
U[OU2oPPP2U]*oUOW]2UOVb2P!)%fhK>9h)rrr
)rrrrBrrrrrr2r()r*r?r+r,rrrs&&     r�_check_ioctl_mutate_len�%IoctlTestsTty._check_ioctl_mutate_lenWs����z�z�|�R�Y�Y�q�\�*���"�"�6�*��
�*�d�
#�
#�s����C��!2�!2�C�8�A�$��A�������A���
�
�e�!�	$�
#�s�&B.�.B>	�7B>	c��[O2[O]21oUOU2o[	U2o[QQ29^tt^2o[OU[OUP
2oPPP2UOW[2UO[U2[U22UO[	U2U2[OQU2]*o[U2OQ2]*oUO!Vr2[	U2o[QQ29^tt^2o[OU[OUP	2oPPP2UOU[2UO[U2[U22UOV42[OQU2]*o[U2OQ2]*oUO!Vr2P!)%fhCK�9h)%fhK�9h)rrr
r)rrrrBr%rrrrrr$r2r=r:r&r'r()r*r?r+r,r6rrrs&&      r�_check_ioctl_not_mutate_len�)IoctlTestsTty._check_ioctl_not_mutate_len`s����z�z�|�R�Y�Y�q�\�*���"�"�6�*����:��
�*�d�
#�
#�s����C��!2�!2�C��?�A�$����a��'�����Q���X��/�����s��X�.����C��#�A�&���1�
�"�"�3�'��*���
�
�e�!��C�j��
�*�d�
#�
#�s����C��!2�!2�C��>�A�$����a��'�����Q���X��/�����'����C��#�A�&���1�
�"�"�3�'��*���
�
�e�!�#$�
#�
#��$�
#�s$�'H�'H0�H-	�%H-	�0I	�9I	c�H�UO2UO2P!�N�rFrI�r*s&r�test_ioctl_mutate�IoctlTestsTty.test_ioctl_mutatews���$�$�&��(�(�*rDc�L�UOQ2UOQ2P!)�rMrNs&r�test_ioctl_mutate_1024�$IoctlTestsTty.test_ioctl_mutate_1024{s ��	
�$�$�T�*��(�(��.rDc�L�UOQ2UOQ2P!)irRrMrNs&r�test_ioctl_mutate_2048�$IoctlTestsTty.test_ioctl_mutate_2048�s���$�$�T�*��(�(��.rD�rL)�__name__�
__module__�__qualname__�__firstlineno__�classmethodr r-r3r7rBrFrIrOrSrV�__static_attributes__�__classdictcell__��
__classdict__s@rr	r	
sK�����@��@�&�2&�	&��"�"�.+�/�/�/rDr	�openptyzneed os.openpty()c�^`�\sQs]�snQs\O\\Q2Q2Q2s	\
OQ2\O\OQ7Q2\O\\Q2Q2Q	222sQ
s\O\\Q2Q2Q
2sQsUsP!)�
IoctlTestsPtyc���[O2vUmUmUO	[O
UO2UO	[O
UO2P!rL)rrb�	master_fd�slave_fd�
addCleanup�closerNs&r�setUp�IoctlTestsPty.setUp�sB��(*�
�
��%����
�������$�-�-�0�������$�.�.�1rD�TCFLSHzrequires termios.TCFLSHc�`�UOoUOo[OQ7o[O
UQ2UO
[OU]2Q2U%c5[OU[O[O2L3[OU[O[O2UO
[OU]2Q2U%c5[OU[O[O2L3[OU[O[O2[O
UQ2UO
[OUQ2Q2P!)�linuxsabcdefsabscdsABCDEFrR�rn�android)rgrf�sys�platformr�writer2�readrrrrl�TCOFLUSH�TCIFLUSH)r*�wfd�rfd�inbufs&   r� test_ioctl_clear_input_or_output�.IoctlTestsPty.test_ioctl_clear_input_or_output�s���m�m���n�n����� 4�4��
����i� ��������a��%�0���K�K��W�^�^�W�-=�-=�>�
�K�K��W�^�^�W�-=�-=�>��������a��%�0���K�K��W�^�^�W�-=�-=�>�
�K�K��W�^�^�W�-=�-=�>�
����i� ��������d�+�Y�7rD�tcflowzonly works on Linux�TCXONCzrequires termios.TCXONCc	�````�ROnROo[O2n[O2nUUUU1Qko[O
[OUQ5,29^tt^2RO[OU]2Q2[OR[O[O2RO2RO!RO#Q2Q2[OR[O[O$2RO'RO#[(O*2Q2RO[OUQ2Q2PPP2P!RO2h9h[OR[O[O$2h9h)%fhP!9h)c��:�[ORQ2RORO[O
22[ORQ2RO
2P!)�abc�def)rrs�
assertTrue�waitr�
SHORT_TIMEOUT�set)r*rw�write_finished�write_suspendeds����r�writer�BIoctlTestsPty.test_ioctl_suspend_and_resume_output.<locals>.writer�sH����H�H�S�&�!��O�O�O�0�0��1F�1F�G�H��H�H�S�&�!���� rD)�targetr�g�?zoutput was not suspendedzoutput was not resumedrRr�)rgrf�	threading�Eventr�
start_threads�Threadr2rrtrrrr}�TCOOFFr��assertFalser��TCOONr�rr�)r*rxr�rwr�r�sf  @@@r�$test_ioctl_suspend_and_resume_output�2IoctlTestsPty.test_ioctl_suspend_and_resume_output�sY����m�m���n�n��#�/�/�+��"���*��	!�	!��
+�
+�Y�-=�-=�V�-L�,M�
N�
N����R�W�W�S�!�_�f�5�
@�*��K�K��W�^�^�W�^�^�D�#�'�'�)�� � ��!4�!4�S�!9�!;�=����C�������?��O�O�N�/�/��0E�0E�F�4�
6����R�W�W�S�$�/��8�O�
N��$�'�'�)�����C�������?��O�
N�
N�s=�(G3�/3F&�"1F;�B	G3�&F8�8F;�;5G0�0G3�3H	�<H	c��[OQ]](]]2o[OUO[
OU2o[OQU2oUOUQ*Q2P!)�HHHH:N�N)��()	rrrrrfr�
TIOCSWINSZrr2)r*�	our_winsz�result�	new_winszs&   r�test_ioctl_set_window_size�(IoctlTestsPty.test_ioctl_set_window_size�sX���K�K���B��1�5�	����T�^�^�W�-?�-?��K���M�M�&�&�1�	�����2���1rD�FICLONEzneed fcntl.FICLONEc�h�[O2oUO[29^tt^2[OU[OU2PPP2UO[29^tt^2[OU[OQ2PPP2UO[29^tt^2[OU[OQ2PPP2P!)%fhK�9h)%fhKp9h)%fhP!9h)Ns
s)r�make_bad_fd�assertRaisesrrrr�)r*�fds& r�test_bad_fd�IoctlTestsPty.test_bad_fd�s����
"�
"�
$��
�
�
�w�
'�
'��K�K��E�M�M�2�.�(�
�
�
�w�
'�
'��K�K��E�M�M�:�6�(�
�
�
�w�
'�
'��K�K��E�M�M�<�8�(�
'�	(�
'��
'�
'��
'�
'�
'�s5�&C:�?&D
�
&D �:D
	�D
	�
D	�D	� D1	�)D1	)rfrgro)rYrZr[r\rjr�
skipUnless�hasattrrrzr�skip_android_selinuxrqrrr�r�rr�r^r_r`s@rrdrd�s�����2�
�����(�3�5N�O�8�P�8�2
�!�!�(�+�
������)=�=�?T�U�
�����(�3�5N�O�9�P�V�,�9�62������	�2�4H�I�9�J�9rDrd�__main__)r:rrrqr�r�testr�test.supportrr�test.support.import_helperrrr�TestCaser	r�r�rdrY�mainrXrDr�<module>r�s����	�
�
����4�4��g���
�	�
"��v/�H�%�%�v/�r
���W�R��+�-@�A�N9�H�%�%�N9�B�N9�b�z���M�M�O�rD

Youez - 2016 - github.com/yon3zu
LinuXploit