Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /usr/lib64/python3.9/multiprocessing/__pycache__/
Dosya Yükle :
Şuanki Dosya : //usr/lib64/python3.9/multiprocessing/__pycache__/resource_sharer.cpython-39.opt-2.pyc

a

�DOg�@s�ddlZddlZddlZddlZddlZddlmZddlmZddlm	Z	dgZ
ejdkrxe
dg7Z
Gd	d�de�Z
ne
d
g7Z
Gdd
�d
e�ZGdd
�d
e�Ze�ZejZdS)�N�)�process)�	reduction)�util�stop�win32�	DupSocketc@seZdZdd�Zdd�ZdS)rcs(|����fdd�}t�|�j�|_dS)Ncs��|�}|�|�dS�N)�share�
send_bytes)�conn�pidr
�Znew_sock��7/usr/lib64/python3.9/multiprocessing/resource_sharer.py�sends
z DupSocket.__init__.<locals>.send)�dup�_resource_sharer�register�close�_id)�self�sockrrrr�__init__szDupSocket.__init__cCsBt�|j��"}|��}t�|�Wd�S1s40YdSr	)r�get_connectionr�
recv_bytes�socketZ	fromshare)rrr
rrr�detach$szDupSocket.detachN��__name__�
__module__�__qualname__rrrrrrrs�DupFdc@seZdZdd�Zdd�ZdS)r"cs4t�|���fdd�}�fdd�}t�||�|_dS)Ncst�|�|�dSr	)r�send_handle)rr
�Znew_fdrrr1szDupFd.__init__.<locals>.sendcst���dSr	)�osrrr$rrr3szDupFd.__init__.<locals>.close)r%rrrr)r�fdrrrr$rr/s
zDupFd.__init__cCs:t�|j��}t�|�Wd�S1s,0YdSr	)rrrr�recv_handle)rrrrrr7szDupFd.detachNrrrrrr"-sc@sJeZdZdd�Zdd�Zedd��Zddd	�Zd
d�Zdd
�Z	dd�Z
dS)�_ResourceSharercCs:d|_i|_t��|_d|_d|_d|_t�	|t
j�dS)Nr)�_key�_cache�	threading�Lock�_lock�	_listener�_address�_threadr�register_after_forkr(�
_afterfork)rrrrr?s
z_ResourceSharer.__init__cCsf|j�L|jdur|��|jd7_||f|j|j<|j|jfWd�S1sX0YdS)Nr)r-r/�_startr)r*)rrrrrrrHs
z_ResourceSharer.registercCs<ddlm}|\}}||t��jd�}|�|t��f�|S)Nr��Client��authkey)�
connectionr5r�current_processr7rr%�getpid)�identr5�address�key�crrrrQs
z_ResourceSharer.get_connectionNcCs�ddlm}|j��|jdur�||jt��jd�}|�d�|��|j	�
|�|j	��rdt�
d�|j��d|_	d|_d|_|j��D]\}\}}|�q�|j��Wd�n1s�0YdS)Nrr4r6z._ResourceSharer thread did not stop when asked)r8r5r-r/rr9r7rrr0�join�is_aliver�sub_warningr.r*�items�clear)r�timeoutr5r>r=rrrrrrZs$
�



z_ResourceSharer.stopcCs\|j��D]\}\}}|�q
|j��|j��|jdurF|j��d|_d|_d|_dSr	)	r*rBrCr-�_at_fork_reinitr.rr/r0)rr=rrrrrr2os



z_ResourceSharer._afterforkcCsXddlm}t�d�|t��jd�|_|jj|_	t
j|jd�}d|_
|��||_dS)Nr)�Listenerz0starting listener and thread for sending handlesr6)�targetT)r8rFr�debugrr9r7r.r<r/r+�Thread�_serve�daemon�startr0)rrF�trrrr3zs

z_ResourceSharer._startcCs�ttd�rt�tjt���z�|j���f}|��}|durJWd�Wq�|\}}|j�	|�\}}z|||�W|�n|�0Wd�n1s�0YWqt
��s�tj
t���Yq0qdS)N�pthread_sigmask)�hasattr�signalrN�	SIG_BLOCK�
valid_signalsr.�accept�recvr*�popr�
is_exiting�sys�
excepthook�exc_info)rr�msgr=�destination_pidrrrrrrJ�s
2z_ResourceSharer._serve)N)rr r!rr�staticmethodrrr2r3rJrrrrr(=s		

r()r%rPrrWr+�r�contextrr�__all__�platform�objectrr"r(rrrrrr�<module>s 


\

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4