PHP WebShell

Текущая директория: /usr/lib/python3/dist-packages/twisted/test/__pycache__

Просмотр файла: process_twisted.cpython-310.pyc

o

�b��@s�dZddlZddlZej�ejd��ejd�Zedkr1ej�	dej�ejd�ded��ej�	dej
�ddlmZddl
mZddlmZe�ej�dd	l
mZmZmZeej�Gd
d�dej��Ze�e��e��dS)z6A process that reads from stdin and out using Twisted.�N�Twisted����)�implementer)�
interfaces)�log)�protocol�reactor�stdioc@s4eZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�EchocC�td�dS)Nzconnection made��print��self�r�>/usr/lib/python3/dist-packages/twisted/test/process_twisted.py�connectionMade�zEcho.connectionMadecCs|j�|�dS)N)�	transport�write)r�datarrr�dataReceived!szEcho.dataReceivedcCstd�|j��dS)N�readConnectionLost)rr�loseConnectionrrrrr$szEcho.readConnectionLostcCr)N�writeConnectionLostr
rrrrr(rzEcho.writeConnectionLostcCstd|�t��dS)N�connectionLost)rr	�stop)r�reasonrrrr+s
zEcho.connectionLostN)�__name__�
__module__�__qualname__rrrrrrrrrrsr)�__doc__�os�sys�path�abspath�argv�find�sep�pos�insert�curdir�zope.interfacer�twisted.internetr�twisted.pythonr�startLogging�stderrrr	r
�IHalfCloseableProtocol�Protocolr�
StandardIO�runrrrr�<module>s (

Выполнить команду


Для локальной разработки. Не используйте в интернете!