403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.124
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/test/__pycache__/win_console_handler.cpython-36.pyc
3

x2_��@s�dZddlmZmZddlZddlZddlZddlZeejej�Z	dd�Z
e	e
�Zejj
jZe	ejfe_eje_edkr�eed�s�ed�ed	�ejd
dejd�Zded<xq�WdS)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n|tjkrntd�dS)z8Handle a sig event and return 0 to terminate the processz
UNKNOWN EVENTr)�signalZCTRL_C_EVENTZCTRL_BREAK_EVENT�print)Zsig�r�=/opt/alt/python36/lib64/python3.6/test/win_console_handler.py�
_ctrl_handlers

r�__main__�z#Unable to add SetConsoleCtrlHandler���r)�__doc__ZctypesrrrZmmap�sysZBOOLZDWORDZHandlerRoutinerZctrl_handlerZwindllZkernel32ZSetConsoleCtrlHandlerZargtypesZrestype�__name__r�exit�argv�mrrrr�<module>	s&




Youez - 2016 - github.com/yon3zu
LinuXploit