403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
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__/selinux.cpython-312.pyc
�

i��d���0�ddlmZmZmZGd�dee�Zy)�)�Plugin�RedHatPlugin�	PluginOptc�:�eZdZdZdZdZeddd��gZdZd	�Z	y
)�SELinuxzSELinux access control�selinux)�	container�system�security�	openshift�fixfilesFz%collect incorrect file context labels)�default�desc)�
libselinuxc�V�|jddg�|jdd��|jd�|jd�d}|d	k7rY|jgd
��gd�}|D]}|jd|z��|jd
�r|jddd��yyy)Nz/etc/sestatus.confz/etc/selinuxz/var/lib/selinux�2)�	sizelimit�sestatus�
getenforce�output�Disabled)z	ps auxZwwzsestatus -vzsestatus -bzselinuxdefcon rootzselinuxconlist rootzselinuxexeccon /bin/passwdzsemanage -o)�fcontext�user�port�login�node�	interface�modulezsemanage %s -lr
zrestorecon -Rvn /F�d)�stderr�priority)�
add_copy_spec�add_cmd_output�exec_cmd�
get_option)�self�state�subcmds�subcmds    �</usr/lib/python3/dist-packages/sos/report/plugins/selinux.py�setupz
SELinux.setups������ ��
�	�	
���-���<����J�'��
�
�l�+�H�5���J�����!�
��G�"�
?���#�#�$4�v�$=�>�
?����z�*��#�#�$7��-0�$�2�+�1�N)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr�option_list�packagesr+�r,r*rrs6��)�J��K�?�H�	�*�e�>�	@��K��H�%2r,rN)�sos.report.pluginsrrrrr5r,r*�<module>r7s��?�>�22�f�l�22r,

Youez - 2016 - github.com/yon3zu
LinuXploit