Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.10/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.10/test/__pycache__/win_console_handler.cpython-310.pyc
o

�9j��@s�dZddlmZmZddlZddlZddlZddlZeejej�Z	dd�Z
e	e
�Zejj
jZe	ejfe_eje_edkrZeed�sIed�ed	�e�d	dejd�Zded<		qXdS)
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�WINFUNCTYPENcCs,|tjkr	dS|tjkr	dStd�dS)z8Handle a sig event and return 0 to terminate the processz
UNKNOWN EVENTr)�signal�CTRL_C_EVENT�CTRL_BREAK_EVENT�print)�sig�r	�//usr/lib/python3.10/test/win_console_handler.py�
_ctrl_handlers

��r�__main__�z#Unable to add SetConsoleCtrlHandler���)�__doc__�ctypesrrr�mmap�sys�BOOL�DWORD�HandlerRoutiner�ctrl_handler�windll�kernel32�SetConsoleCtrlHandler�argtypes�restype�__name__r�exit�argv�mr	r	r	r
�<module>s,



��

Youez - 2016 - github.com/yon3zu
LinuXploit