shell bypass 403
UnknownSec Shell
:
/
lib
/
python3
/
dist-packages
/
twisted
/
test
/
__pycache__
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
stdio_test_lastwrite.cpython-312.pyc
� Ϫ�f� � �� � d Z ddlZddlmZ ddlmZ ddlmZ G d� de� Zd� Z e d k( r@ eej d � j � ddl mZ e eej d � yy) z� Main program for the child process run by L{twisted.test.test_stdio.StandardInputOutputTests.test_lastWriteReceived} to test that L{os.write} can be reliably used after L{twisted.internet.stdio.StandardIO} has finished. � N)�Protocol)� StandardIO)�namedAnyc � � e Zd Zd� Zd� Zd� Zy)�LastWriteChildc � � || _ || _ y �N)�reactor�magicString)�selfr r s �C/usr/lib/python3/dist-packages/twisted/test/stdio_test_lastwrite.py�__init__zLastWriteChild.__init__ s � ����&��� c � � | j j | j � | j j � y r )� transport�writer �loseConnection)r s r �connectionMadezLastWriteChild.connectionMade s* � ������T�-�-�.����%�%�'r c �8 � | j j � y r )r �stop)r �reasons r �connectionLostzLastWriteChild.connectionLost s � ������r N)�__name__� __module__�__qualname__r r r � r r r r s � �'�(�r r c �r � t | |j d� � }t |� | j � y )N�ascii)r �encoder �run)r r �ps r �mainr"