AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/core20/2599/usr/lib/python3/dist-packages/cloudinit/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /snap/core20/2599/usr/lib/python3/dist-packages/cloudinit/__pycache__/warnings.cpython-38.pyc
U

Ӈg
�@s\ddlZddlZddlZddlmZmZe�e�Zddd�Z	dd�Z
d
d	d
�Zddd�ZdS)�N)�helpers�utila'
This system is using the EC2 Metadata Service, but does not appear to
be running on Amazon EC2 or one of cloud-init's known platforms that
provide a EC2 Metadata service. In the future, cloud-init may stop
reading metadata from the EC2 Metadata Service unless the platform can
be identified.

If you are seeing this message, please file a bug against
cloud-init at
   https://github.com/canonical/cloud-init/issues
Make sure to include the cloud provider your instance is
running on.

For more information see
  https://github.com/canonical/cloud-init/issues/2795

After you have filed a bug, you can disable this warning by
launching your instance with the cloud-config below, or
putting that content into
   /etc/cloud/cloud.cfg.d/99-ec2-datasource.cfg

#cloud-config
datasource:
 Ec2:
  strict_id: falsea�
A new feature in cloud-init identified possible datasources for
this system as:
  {dslist}
However, the datasource used was: {source}

In the future, cloud-init will only attempt to use datasources that
are identified or specifically configured.
For more information see
  https://bugs.launchpad.net/bugs/1669675

If you are seeing this message, please file a bug against
cloud-init at
   https://github.com/canonical/cloud-init/issues
Make sure to include the cloud provider your instance is
running on.

After you have filed a bug, you can disable this warning by launching
your instance with the cloud-config below, or putting that content
into /etc/cloud/cloud.cfg.d/99-warnings.cfg

#cloud-config
warnings:
  dsid_missing_source: off)Z
non_ec2_mdZdsid_missing_sourcecCs&tj|�di��di�d�}|�d�S)NZsystem_info�paths)Z	path_cfgs�warnings)rZPaths�getZ
get_ipath_cur)�cfgr�r�4/usr/lib/python3/dist-packages/cloudinit/warnings.py�
_get_warn_dir?s�r
TcCs�||f}|rt|t�s|St�|d|f�}|dkr6|S|dkrBdS|dkrNdS|�d�\}}}|dkrj|S|r�zt|�}Wntk
r�|YSXd|fS)	Nr)Zon�trueT)TN)ZoffZfalseF)FN�,�sleepT)�
isinstance�dictrZget_cfg_by_path�	partition�int�
ValueError)r�name�moder
�defaultZncfg�_Zcsleeprrr	�_load_warn_cfgFs&
rcKs|dkri}t||||d�\}}|s(dSt|jf|�}d}|d}d|}d|d}	g}
|�d���D]}|
�||�qj|	}|r�d|}
|
�|d�d}t�t	j
�t|�|�|	d�|
�d|	�t
�d|	d�|
�|�|r�t
�d	||�t�|�dS)
N)rr
�F�z
# %%-%ds #�*�
z  [sleeping for %d seconds]  z%s%s
%sz$sleeping %d seconds for warning '%s')r�WARNINGS�format�strip�
splitlines�append�centerrZ
write_file�os�path�joinr
�LOGZwarning�debug�timer
)rrr
r�kwargs�msgZmsgwidthZ	linewidthZfmtZtoplineZfmtlines�lineZ	closelineZsleepmsgrrr	�show_warningfs2�r+)TN)NNT)
Zloggingr"r'Z	cloudinitrrZ	getLogger�__name__r%rr
rr+rrrr	�<module>s
�5
 

Anon7 - 2022
AnonSec Team