403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/laragon/bin/python/python-3.10/Lib/asyncio/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/laragon/bin/python/python-3.10/Lib/asyncio/__pycache__/windows_utils.cpython-310.pyc
o

�L�bq�@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)�tempfile�mktemp�format�os�getpid�next�
_mmap_counter�_winapi�PIPE_ACCESS_DUPLEX�GENERIC_READ�
GENERIC_WRITE�PIPE_ACCESS_INBOUND�FILE_FLAG_FIRST_PIPE_INSTANCE�FILE_FLAG_OVERLAPPED�CreateNamedPipe�	PIPE_WAIT�NMPWAIT_WAIT_FOREVER�NULL�
CreateFile�
OPEN_EXISTING�ConnectNamedPipe�GetOverlappedResult�CloseHandle)rrr	�addressZopenmode�accessZobsizeZibsizeZflags_and_attribsZh1Zh2�ov�r'�-C:\python3.10-64\lib\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�handler'r'r(�__init__Vs
zPipeHandle.__init__cCs2|jdurd|j��}nd}d|jj�d|�d�S)Nzhandle=�closed�<� �>)r+�	__class__�__name__r,r'r'r(�__repr__Ys
zPipeHandle.__repr__cCs|jSr)r*�r-r'r'r(r.`szPipeHandle.handlecCs|jdur	td��|jS)NzI/O operation on closed pipe)r+�
ValueErrorr7r'r'r(�filenods
zPipeHandle.fileno)r#cCs"|jdur||j�d|_dSdSr)r*)r-r#r'r'r(�closeis


�zPipeHandle.closecCs.|jdur|d|��t|d�|��dSdS)Nz	unclosed )�source)r+�ResourceWarningr:)r-�_warnr'r'r(�__del__ns
�zPipeHandle.__del__cCs|Sr)r'r7r'r'r(�	__enter__sszPipeHandle.__enter__cCs|��dSr))r:)r-�t�v�tbr'r'r(�__exit__vszPipeHandle.__exit__N)r5�
__module__�__qualname__�__doc__r/r6�propertyr.r9rr#r:�warnings�warnr>r?rCr'r'r'r(rQs
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)
N�universal_newlinesr	r)FTT)rr)TFr)�stdin�stdout�stderr)�getrr�msvcrt�open_osfhandler�O_RDONLY�STDOUT�superr/rr#rrKrLrMr:)r-�argsrKrLrM�kwdsZ	stdin_rfdZ
stdout_wfdZ
stderr_wfdZstdin_whZ	stdout_rhZ	stderr_rhZstdin_rhZ	stdout_whZ	stderr_wh�h�r4r'r(r/�sf�
�
�


�

��

�zPopen.__init__)NNN)r5rDrErFr/�
__classcell__r'r'rWr(r}sr)rF�sys�platform�ImportErrorr�	itertoolsrOr�
subprocessr
rH�__all__�BUFSIZErrR�countrrrrr'r'r'r(�<module>s&
1,

Youez - 2016 - github.com/yon3zu
LinuXploit