__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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[h�����SSKrSSKrSSKrSSKrSSKJr SSKJr SSKJ	r	 \R"\5rS\
S\
4SjrS\
S\
4SjrS\4S	jrS\
4S
jrS\
4Sjr"SS
\R(5rg)�N)�Optional)�dmi)�report_diagnostic_event�system_uuid�returnc���[R"U5n[
[R"URS95$![a  SU<3n[U[R
S9 ef=f)a�Byte swap system uuid.

Azure always uses little-endian for the first three fields in the uuid.
This behavior was made strict in SMBIOS 2.6+, but Linux and dmidecode
follow RFC 4122 and assume big-endian for earlier SMBIOS versions.

Azure's gen1 VMs use SMBIOS 2.3 which requires byte swapping to match
compute.vmId presented by IMDS.

Azure's gen2 VMs use SMBIOS 3.1 which does not require byte swapping.

:raises ValueError: if UUID is invalid.
zFailed to parse system uuid: ��logger_func)�bytes)�uuid�UUID�
ValueErrorr�LOG�error�str�bytes_le)r�
original_uuid�msgs   �B/usr/lib/python3/dist-packages/cloudinit/sources/azure/identity.py�byte_swap_system_uuidrs_����	�	�+�.�
��t�y�y�}�5�5�6�7�7����-�k�_�=�������;�
��s	�?�*A)c�:�[5(a[U5$U$)z!Determine VM ID from system uuid.)�
is_vm_gen1r�rs r�convert_system_uuid_to_vm_idr)s���|�|�$�[�1�1���c��[RRS5(ag[RRS5(agg)zRDetermine if VM is gen1 or gen2.

Gen2 guests use UEFI while gen1 is legacy BIOS.
z/sys/firmware/efiFz/dev/efiT)�os�path�exists�rrrr1s6��
�w�w�~�~�)�*�*��
�w�w�~�~�j�!�!��rc��[R"S5nUc[S5eUR5n[RSU5 U$)z Query system uuid in lower-case.zsystem-uuidzfailed to read system-uuidzRead product uuid: %s)r�
read_dmi_data�RuntimeError�lowerr�debugrs r�query_system_uuidr&AsI���#�#�M�2�K����7�8�8��#�#�%�K��I�I�%�{�3��rc�,�[5n[U5$)zQuery VM ID from system.)r&rrs r�query_vm_idr(Ms��#�%�K�'��4�4rc�6�\rSrSrSr\S\S4Sj5rSrg)�ChassisAssetTag�Sz 7783-7084-3265-9085-8269-3286-77rc���[R"S5nU"U5n[SU<SUR<S3[R
S9 U$![a [SU-[R
S9 gf=f)z~Check platform environment to report if this datasource may run.

:returns: ChassisAssetTag if matching tag found, else None.
zchassis-asset-tagzNon-Azure chassis asset tag: %rr	NzAzure chassis asset tag: z (�))rr"rrrr%�name)�cls�	asset_tag�tags   r�query_system�ChassisAssetTag.query_systemVst���%�%�&9�:�	�	��i�.�C�	 �2;�S�X�X�F��	�	�	
��
���	�#�1�I�=��I�I�
��	�s�A
�
%A5�4A5r N)	�__name__�
__module__�__qualname__�__firstlineno__�AZURE_CLOUD�classmethodrr2�__static_attributes__r rrr*r*Ss&��4�K���X�&7�8���rr*)�enum�loggingrr�typingr�	cloudinitr�cloudinit.sources.helpers.azurer�	getLoggerr4rrrr�boolrr&r(�Enumr*r rr�<module>rCs���
��	����C�
����!��8�s�8�s�8�0�c��c��
�D�
� 	�3�	�5�S�5��d�i�i�r

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 163 B 0644
errors.cpython-313.pyc File 12.99 KB 0644
identity.cpython-313.pyc File 4.02 KB 0644
imds.cpython-313.pyc File 7.52 KB 0644
kvp.cpython-313.pyc File 2.56 KB 0644
Filemanager