__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
o

K��^)�@svddlZddlZddlZddlmZe�d�Zdd�Zdd�Ze	d�Z
d	Ze	d
�Zdd�Z
d
d�Zdd�Zdd�ZdS)�N)�run_commandzsubiquitycore.sshcCs|tddg�}|jdkrt�d|j�gSg}|j��D]}|�d�r-|�|�	dd�d�qg}|D]	}|�
t|��q2|S)zzQuery sshd to find the host keys and then fingerprint them.

    Returns a sequence of (key-type, fingerprint) pairs.
    �sshdz-Trzsshd -T failed %rzhostkey N�)r�
returncode�log�debug�stderr�stdout�
splitlines�
startswith�append�split�extend�fingerprints)�config�keyfiles�line�info�keyfile�r�)/usr/share/subiquity/subiquitycore/ssh.py�host_key_fingerprintss

�rcCs|g}tdd|g�}|jdkrt�d||j�|S|j��D]}|���dd��	�}|d}|d�d	�}|�
||f�q|S)
Nz
ssh-keygenz-lfrzssh-keygen -lf %s failed %r�
�r���z())rrrrrr	r
�strip�replacer
r)rr�cpr�parts�fingerprint�keytyperrrr,s
rzThe host key fingerprints are:
z$
    {keytype:{width}} {fingerprint}z9The {keytype} host key fingerprint is:
    {fingerprint}
cCs
tt��S)N)�summarize_host_keysrrrrr�
host_key_infoGs
r"cCs�t|�dkrdSt|�dkr|\\}}tt�j||d�Stt�g}tdd�|D��}|D]\}}|�tj|||d��q,d�|�S)Nrrr)r rcSsg|]\}}t|��qSr)�len)�.0r �_rrr�
<listcomp>Ssz'summarize_host_keys.<locals>.<listcomp>)r r�width)	r#r%�single_host_key_tmpl�format�host_keys_intro�maxr�
host_key_tmpl�join)rr r�lines�longest_typerrrr!Ks

�


�
r!cCsVzt�|�}Wntyt�d|�gYSwd�|j�}tj�	|�r)t
|�SgS)Nzgetpwnam(%s) failedz{}/.ssh/authorized_keys)�pwd�getpwnam�KeyErrorr�	exceptionr)�pw_dir�os�path�existsr)�username�	user_info�
user_key_filerrr�user_key_fingerprints[s�r;cCs�ddlm}ddlm}|�}|��|��dd}g}t|dd�d�D]"}|d	|vr.q%|d
D]}|ddkrF|�|d
�d�d�q2q%|S)Nr)�Prober)�NETDEV_IGNORED_IFACE_TYPES�network�linkscSs|ddS)N�netlink_data�namer)�linkrrr�<lambda>osz$get_ips_standalone.<locals>.<lambda>)�key�type�	addresses�scope�global�address�/)	�probert.proberr<�subiquitycore.models.networkr=�
probe_network�get_results�sortedrr
)r<r=�proberr?�ipsrB�addrrrr�get_ips_standalonehs��rS)�loggingr5r0�subiquitycore.utilsr�	getLoggerrrrr%r*r,r(r"r!r;rSrrrr�<module>s


Filemanager

Name Type Size Permission Actions
__init__.cpython-310.pyc File 263 B 0644
async_helpers.cpython-310.pyc File 2.17 KB 0644
context.cpython-310.pyc File 4.42 KB 0644
controller.cpython-310.pyc File 1.65 KB 0644
controllerset.cpython-310.pyc File 1.68 KB 0644
core.cpython-310.pyc File 3.61 KB 0644
file_util.cpython-310.pyc File 1.36 KB 0644
i18n.cpython-310.pyc File 1.25 KB 0644
log.cpython-310.pyc File 1.11 KB 0644
lsb_release.cpython-310.pyc File 976 B 0644
netplan.cpython-310.pyc File 5.41 KB 0644
palette.cpython-310.pyc File 2.38 KB 0644
prober.cpython-310.pyc File 1.4 KB 0644
pubsub.cpython-310.pyc File 1.26 KB 0644
screen.cpython-310.pyc File 4.01 KB 0644
snapd.cpython-310.pyc File 6.43 KB 0644
ssh.cpython-310.pyc File 3.13 KB 0644
tui.cpython-310.pyc File 10.75 KB 0644
tuicontroller.cpython-310.pyc File 4.02 KB 0644
utils.cpython-310.pyc File 4.46 KB 0644
view.cpython-310.pyc File 2.55 KB 0644
Filemanager