Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/conch/client/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

�b��@sNddlZddlmZmZmZddlmZmZddlm	Z	Gdd�de	j
�ZdS)�N)�List�Optional�Union)�
SSHCiphers�SSHClientTransport)�usagec@sNeZdZUgd�gd�gd�gd�gd�gd�gd�gd�gd	�gd
�g
Zeeeeeefe	d<gd�gd
�gd�gd�gd�gd�gd�gZ
ejdge�
�ejdd�ej��D�dd�ejdd�ej��D�dd�ejdd�ejD�dd�d�e��ejdd�ejddd �gd!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Zd.S)/�ConchOptions)�user�lNzLog in using this user name.)�identity�iN)�ciphers�cN)�macs�mN)�port�pNz7Connect to this port.  Server must be on the same port.)�option�oNzIgnored OpenSSH options)�host-key-algorithms�N)zknown-hostsrNzFile to check for host keys)�user-authenticationsrNz%Types of user authentications to use.)�logfilerNzFile to log to, or - for stdout�
optParameters)�version�VzDisplay version number only.)�compress�CzEnable compression.)�log�vz#Enable logging (defaults to stderr))�nox11�xz+Disable X11 connection forwarding (default))�agent�Az&Enable authentication agent forwarding)�noagent�az1Disable authentication agent forwarding (default))�	reconnect�rz2Reconnect to the server if the connection is lost.)r"r$cC�g|]}|���qS���decode��.0rr)r)�>/usr/lib/python3/dist-packages/twisted/conch/client/options.py�
<listcomp>*�zConchOptions.<listcomp>zciphers to choose from)�descrcCr(r)r*r,r)r)r.r/.r0zmacs to choose fromcCr(r)r*r,r)r)r.r/2r0z"host key algorithms to choose from)r	r
rr�command�argumentT)r1�repeat)�mutuallyExclusive�
optActions�extraActionscOs*tjj|g|�Ri|��g|_d|_dS)N)r�Options�__init__�	identitys�conns)�self�args�kwr)r)r.r9?s
zConchOptions.__init__cCs|j�|�dS)z&Identity for public-key authenticationN)r:�append)r<rr)r)r.�opt_identityDszConchOptions.opt_identitycCs8|�d�}|D]}|tjvrt�d|�q||d<dS)zSelect encryption algorithms�,zUnknown cipher type '%s'r
N)�splitr�	cipherMap�sys�exit)r<r
�cipherr)r)r.�opt_ciphersHs

�zConchOptions.opt_cipherscC�Lt|t�r
|�d�}|�d�}|D]}|tjvrt�d|�q||d<dS)zSpecify MAC algorithms�utf-8�,zUnknown mac type '%r'rN)�
isinstance�str�encoderBr�macMaprDrE)r<r�macr)r)r.�opt_macsP�



�zConchOptions.opt_macscCrH)zSelect host key algorithmsrIrJzUnknown host key type '%r'rN)rKrLrMrBr�supportedPublicKeysrDrE)r<�hkas�hkar)r)r.�opt_host_key_algorithmsZrQz$ConchOptions.opt_host_key_algorithmscCs&t|t�r
|�d�}|�d�|d<dS)z/Choose how to authenticate to the remote serverrIrJrN)rKrLrMrB)r<�uasr)r)r.�opt_user_authenticationsds

z%ConchOptions.opt_user_authenticationsN)�__name__�
__module__�__qualname__rrrrrL�int�__annotations__�optFlagsr�Completions�CompleteUsernames�CompleteMultiListrrC�keysrNrrR�CompleteUserAtHost�	Completer�compDatar9r@rGrPrUrWr)r)r)r.rs^
 ��
����
��

r)rD�typingrrr�twisted.conch.ssh.transportrr�twisted.pythonrr8rr)r)r)r.�<module>s


Spamworldpro Mini