403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/sos/report/plugins/__pycache__/juju.cpython-312.pyc
�

i��d�	��,�ddlmZmZGd�dee�Zy)�)�Plugin�UbuntuPluginc�(�eZdZdZdZdZdZd�Zd�Zy)�JujuzJuju orchestration tool�juju)�virt�sysmgmt)�
/var/log/jujuc�J�|jd�D]$}|j|�|j|��&|jd�|j	ddg�|jd�r%|jgd��|j
d�y|jd�y)	Nzjuju*z!/var/lib/juju/agents/*/agent.confzls -alRh /var/log/juju*zls -alRh /var/lib/juju*�all_logs)r
z
/var/lib/jujuz/var/lib/juju/**/.*z/var/lib/juju/kvmz/var/log/juju/*.log)�get_service_names�add_journal�add_service_status�
add_copy_spec�add_cmd_output�
get_option�add_forbidden_path)�self�services  �9/usr/lib/python3/dist-packages/sos/report/plugins/juju.py�setupz
Juju.setups����-�-�g�6�	-�G����W�%��#�#�G�,�	-�
	
���>�?�	
���%�%�
�	�
�?�?�:�&�
��� �
�

�#�#�$7�8�
���4�5�c��d}gd�}ddj|�z}d}|j|||�|j|�y)Nz/var/lib/juju/agents/*)�sharedsecret�apipassword�oldpassword�
statepasswordz(^\s*(%s)\s*:\s*)(.*)�|z\1*********)�join�do_path_regex_sub�do_file_private_sub)r�agents_path�protect_keys�
keys_regex�	sub_regexs     r�postprocz
Juju.postproc8sH��.��
��.�����0F�F�
�"�	����{�J�	�B�� � ��-rN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�filesrr&�rrrrs"��*�J��K�"�H�
�E�6�>.rrN)�sos.report.pluginsrrrr.rr�<module>r0s��4�8.�6�<�8.r

Youez - 2016 - github.com/yon3zu
LinuXploit