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 :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

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

���b�	�@s.ddlZddlmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPluginc@s>eZdZdZdZdZdZefZdZdd�Z	dd	�Z
d
d�ZdS)
�ClearContainersz'Intel(R) Clear Containers configuration�clear_containers)�system�virt�	containerz
cc-runtime)zcc-proxycCsVdg}d�|j�}|�|�d}|��D]}|dkr|�|�qt|�}|�|�dS)Nz_/etc/clear-containers/configuration.toml/usr/share/defaults/clear-containers/configuration.tomlz!{} --cc-show-default-config-paths�output�)�format�runtime�exec_cmd�
splitlines�append�set�
add_copy_spec)�self�config_files�cmd�configs�config�r�E/usr/lib/python3/dist-packages/sos/report/plugins/clear_containers.py�attach_cc_config_filess�
�z&ClearContainers.attach_cc_config_filescCstdg}d�|j�}|�|�d}|��D]}t�d|�}|r,|�d�}|r*|�|�nqt|�}|�	||j
�dS)Nz-/var/lib/clear-containers/runtime/runtime.log�	{} cc-envr	z\bGlobalLogPath\b\s+=\s+"(.+)"�)rrr
r�re�search�grouprrr�limit)r�	log_filesrr	�line�result�global_logfilerrr�attach_cc_log_files.s�

�z#ClearContainers.attach_cc_log_filescCsN|�d�|_|�d�rd|_|�d�|j��|��|��|jdd�dS)N�log_size�all_logsrzcc-shim)�
identifier)�
get_optionr�add_cmd_outputrrrr$�add_journal)rrrr�setupDs
zClearContainers.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr�packages�servicesrr$r+rrrrrsr)r�sos.report.pluginsrrrrrrr�<module>s

Anon7 - 2022
AnonSec Team