| Server IP : 46.62.235.243 / Your IP : 216.73.216.163 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/conch/__pycache__/ |
Upload File : |
�
ojK � �V � d Z ddlmZ ddlmZ ddlmZmZm Z
ddlmZ ddl
mZmZ ddlmZ G d� d � Z G d
� d� Z ee
j( � G d� d
ej* � � Z G d� dej. ej* � Z G d� d� Z G d� dej4 � Zy)z9
insults/SSH integration support.
@author: Jp Calderone
� )�Dict)�implementer)�avatar�error�
interfaces)�insults)�factory�session)�
componentsc � � e Zd ZdZd� Zd� Zy)�_Gluez�
A feeble class for making one attribute look like another.
This should be replaced with a real class at some point, probably.
Try not to write new code that uses it.
c �: � | j j |� y �N)�__dict__�update)�self�kws �;/usr/lib/python3/dist-packages/twisted/conch/manhole_ssh.py�__init__z_Glue.__init__ s � ��
�
���R� � c �0 � t | j d|� �)Nzhas no attribute)�AttributeError�name)r r s r �__getattr__z_Glue.__getattr__ s � ��T�Y�Y�(:�D�A�Ar N)�__name__�
__module__�__qualname__�__doc__r r � r r r
r
s � ��!�Br r
c � � e Zd Zd� Zy)�TerminalSessionTransportc � � ��� |� _ �� _ |� _ � j j �� j j t � j j ��fd�d�� � � fd�}� j j t � j j |d�� � � j j j ||� y )Nc �: �� � j j �� S r )�conn� sendClose)r �protoSessions ��r �<lambda>z3TerminalSessionTransport.__init__.<locals>.<lambda>/ s �� �v�{�{�'<�'<�\�'J� r zSSH Proto Transport)�write�loseConnectionr c �: �� � j j � y r )�protor) �r s �r r) z9TerminalSessionTransport.__init__.<locals>.loseConnection4 s �� ��J�J�%�%�'r zChained Proto Transport)
r+ r �chainedProtocolr
�makeConnectionr
�dataReceivedr( �terminalProtocol�terminalSize)r r+ r- r �width�heightr) r&