__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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$���SSKrSSKrSSKJr SSKJrJrJrJr SSK	r	SSK
Jr SSKJ
r
 SSKJrJr \R""\5rSrSr"S	S
5rSSS
.S\S\S\S\S\4
SjjrS\S\S\4SjrSS\S\\S\4SjjrS\4Sjrg)�N)�	monotonic)�Dict�Optional�Type�Union)�util)�report_diagnostic_event)�UrlError�readurlzhttp://169.254.169.254/metadatac�D�S[[R"55S.$)N�true)�Metadatazx-ms-client-request-id)�str�uuid�uuid4)�_urls �>/usr/lib/python3/dist-packages/cloudinit/sources/azure/imds.py�
headers_cbrs���"%�d�j�j�l�"3���c	�Z�\rSrSrSrSSSSS.S\S\\S	\\S
S4SjjrS
\	4Sjr
S
rg)�ReadUrlRetryHandler�a7Manager for readurl retry behavior using exception_callback().

:param logging_backoff: Backoff to limit logging.
:param max_connection_errors: Number of connection errors to retry on.
:param retry_codes: Set of http codes to retry on.
:param retry_deadline: Optional monotonic()-based deadline to retry until.
��?N)���i���logging_backoff�max_connection_errors�retry_codes�retry_deadlinerrr!�returnc�^�XlX lX0lX@lSUlSUlSUlg)Nrr)rrr r!�_logging_threshold�_request_count�_last_error)�selfrrr r!s     r�__init__�ReadUrlRetryHandler.__init__%s4�� /��%:�"�&��,��"%������37��rc�*�U=RS-
sl[U[5(d[SU-[R
S9 gSnURb[5UR:�aSnOSnURbQ[UR[R5(a(U=RS-slURS::aSnO)URbURUR;aSnURUR:�a U=RUR-slOSnURb.UR UR:waSnURUlOmUR bD[UR ["5(a%[URUR 5(dSn[#UR5UlU(dU(d'[SURU4-[R
S9 U$)N�z1Polling IMDS failed with unexpected exception: %r��logger_funcFTrz1Polling IMDS failed attempt %d with exception: %r)r%�
isinstancer
r	�LOG�warningr!rr�cause�requests�ConnectionError�coder r$rr&�type)r'�	exception�log�retrys    r�exception_callback�&ReadUrlRetryHandler.exception_callback:s������q� ���)�X�.�.�#�C����K�K�
�
������+���t�2�2�2��E��E�
�%�%�1�j��O�O�X�5�5�7
�7
�
�&�&�!�+�&��)�)�Q�.�����N�N�&����d�&6�&6�6��E����$�"9�"9�9��#�#�t�';�';�;�#��C��>�>�%����9�>�>�1���#,�>�>�� ��
���$��d�.�.��5�5��i�o�o�t�/?�/?�@�@��C�#�I�O�O�4�D���e�#�C��&�&�	�2�3��K�K�
�
�r)r&r$r%rrr r!)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�floatr�intr(�boolr9�__static_attributes__�rrrrsZ���"%�/3�
�+/�8��8� (��}�	8�!���8�
�8�*>�t�>rrT�)�log_response�timeout�url�
retry_handlerrFrGr"c	��[UUR[SUUS9nUR$![a!n[	SU-[
RS9 eSnAff=f)aFetch URL from IMDS.

:param url: url to fetch.
:param log_response: log responses in readurl().
:param retry_deadline: time()-based deadline to retry until.
:param timeout: Read/connection timeout in seconds for readurl().

:raises UrlError: on error fetching metadata.
T��exception_cbr�infinite�log_req_resprGz&Failed to fetch metadata from IMDS: %sr,N)rr9rr
r	r/r0�contents)rHrIrFrG�response�errors      r�
_fetch_urlrR{se�� ���&�9�9�!��%��

����������4�u�<����	
�	���s�*�
A�A�Ac��[XS9n[R"URS55$![a!n[SU-[RS9 eSnAff=f)z�Fetch IMDS metadata.

:param url: url to fetch.
:param retry_deadline: time()-based deadline to retry until.

:raises UrlError: on error fetching metadata.
:raises ValueError: on error parsing metadata.
�rIzutf-8z&Failed to parse metadata from IMDS: %sr,N)rRr�	load_json�decode�
ValueErrorr	r/r0)rHrI�metadatarQs    r�_fetch_metadatarY�sW���#�;�H���~�~�h�o�o�g�6�7�7�����4�u�<����	
�	���s�$0�
A�A�Ar!rc���[UUS9n[S-n[X2S9$![aOnURS:Xa9[S[RS9 [UUS9n[S-n[X2S9sSnA$eSnAff=f)	z�Fetch extended metadata, falling back to non-extended as required.

:param retry_deadline: time()-based deadline to retry until.

:raises UrlError: on error fetching metadata.
:raises ValueError: on error parsing metadata.
)rr!z./instance?api-version=2021-08-01&extended=truerTi�z,Falling back to IMDS api-version: 2019-06-01r,z /instance?api-version=2019-06-01N)r�IMDS_URLrYr
r4r	r/r0)r!rrIrHrQs     r� fetch_metadata_with_api_fallbackr\�s���(�3�%��M���I�I���s�@�@�����:�:���#�>��K�K�
�0�&;�-��M��?�?�C�"�3�D�D�
���s!��
A7�AA2�+A7�1A2�2A7c	���[S-n[SSSSS9n[UUR[SSS	S
9n[SURS-S3[RS
9 UR$)z`Fetch extended metadata, falling back to non-extended as required.

:raises UrlError: on error.
z'/reprovisiondata?api-version=2019-06-01g@r+)rrrNrTFrErKzPolled IMDS z time(s)r,)
r[rrr9rr	r%r/�debugrO)rH�handlerrPs   r�fetch_reprovision_datar`�s���
�>�
>�C�!���
�
�	�G����/�/�����
�H��
�w�-�-�a�/�0��9��I�I�����r)N) �loggingr�timer�typingrrrrr2�	cloudinitr�cloudinit.sources.helpers.azurer	�cloudinit.url_helperr
r�	getLoggerr;r/r[rrrrBrA�bytesrRrYr@r\r`rDrr�<module>ris���
���.�.���C�2�
����!��,���\�\�F�� �	� �'� ��	 �
� ��
 �F�	��'��
�	�4CG����2:�3�-��	��@��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