403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3.9/site-packages/supervisor/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/supervisor/__pycache__/pidproxy.cpython-39.opt-1.pyc
a

0�g��@sLdZddlZddlZddlZddlZGdd�d�Zdd�ZedkrHe�dS)apidproxy -- run command and proxy signals to it via its pidfile.

This executable runs a command and then monitors a pidfile.  When this
executable receives a signal, it sends the same signal to the pid
in the pidfile.

Usage: %s <pidfile name> <command> [<cmdarg1> ...]
�Nc@s@eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dS)�PidProxyNc	Csbz4|d|dd�|_}tj�|d�|_||_Wn(ttfy\|��t	�
d�Yn0dS)N��r)�pidfile�os�path�abspath�abscmd�cmdargs�
ValueError�
IndexError�usage�sys�exit)�self�argsr
�r�7/usr/lib/python3.9/site-packages/supervisor/pidproxy.py�__init__s
zPidProxy.__init__cCsb|��t�tj|j|j�|_t�d�zt�	dtj
�d}WntyTd}Yn0|rq^qdS)N����r)�
setsignalsr�spawnv�P_NOWAITr	r
�pid�time�sleep�waitpid�WNOHANG�OSError)rrrrr�gos

zPidProxy.gocCstttjd�dS)Nr)�print�__doc__r�argv�rrrrr
)szPidProxy.usagecCstt�tj|j�t�tj|j�t�tj|j�t�tj|j�t�tj|j�t�tj|j�t�tj|j	�dS�N)
�signal�SIGTERM�passtochild�SIGHUP�SIGINT�SIGUSR1�SIGUSR2�SIGQUIT�SIGCHLD�reapr$rrrr,szPidProxy.setsignalscCsdSr%r)r�sig�framerrrr/5sz
PidProxy.reapcCs�z@t|jd�� }t|�����}Wd�n1s40YWntd|j�YdS0t�||�|tj	tj
tjfvr�t�
d�dS)N�rzCan't read child pidfile %s!r)�openr�int�read�stripr!r�killr&r'r*r-rr)rr0r1�frrrrr(9s2zPidProxy.passtochild)
�__name__�
__module__�__qualname__rrr r
rr/r(rrrrrs		rcCsttj�}|��dSr%)rrr#r )�pprrr�mainDs
r=�__main__)r"rrr&rrr=r9rrrr�<module>s	3

Youez - 2016 - github.com/yon3zu
LinuXploit