403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.55
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/cloudinit/config/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/cloudinit/config/__pycache__/cc_runcmd.cpython-38.pyc
U

Ӈgh�@s�UdZddlZddlZddlmZddlmZddlmZddl	m
Z
ddlmZddl
mZd	eged
gd�Ze
ed<e�e�Zeeeedd
�dd�ZdS)zERuncmd: run arbitrary commands at rc.local with output to the console�N)�util)�Cloud)�Config)�
MetaSchema)�ALL_DISTROS)�PER_INSTANCEZ	cc_runcmd�runcmd)�idZdistrosZ	frequencyZactivate_by_schema_keys�meta)�name�cfg�cloud�args�returnc
Cs�d|krt�d|�dStj�|�d�d�}|d}zt�|�}t�||d�Wn6t	k
r�}zt
|�d�||���W5d}~XYnXdS)Nrz:Skipping module named %s, no 'runcmd' key in configurationZscriptsi�z"Failed to shellify {} into file {})�LOG�debug�os�path�joinZ	get_ipathrZshellifyZ
write_file�	Exception�type�format)rrr
rZout_fn�cmdZcontent�e�r�</usr/lib/python3/dist-packages/cloudinit/config/cc_runcmd.py�handle%s�
r)�__doc__ZloggingrZ	cloudinitrZcloudinit.cloudrZcloudinit.configrZcloudinit.config.schemarZcloudinit.distrosrZcloudinit.settingsrr
�__annotations__Z	getLogger�__name__r�str�listrrrrr�<module>	s	�


Youez - 2016 - github.com/yon3zu
LinuXploit