HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/share/setroubleshoot/plugins/__pycache__/setenforce.cpython-36.pyc
3

m��a�	�@s\ddlZejddd�ZejZddlTddlmZed�Zed�Zed	�ZGd
d�de�Z	dS)�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginz7If you did not directly cause this AVC through testing.z,if you think that you might have been hackedz:Contact your security administrator and report this issue.c@sLeZdZed�Zed�ZdZdZed�Zed�Z	ed�Z
dd�Zd	d
�ZdS)�pluginze
    Your system may be seriously compromised! $SOURCE_PATH tried to modify SELinux enforcement.
    a�
    SELinux has prevented $SOURCE from writing to a file under /sys/fs/selinux.
    Files under /sys/fs/selinux control the way SELinux is configured.
    All programs that need to write to files under /sys/fs/selinux should have already had policy
    written for them. If a compromised application tries to turn off SELinux
    this AVC will be generated. This is a serious issue. Your system may very
    well be compromised.
    z:Contact your security administrator and report this issue.�z5If you believe $SOURCE_PATH tried to disable SELinux.z_you may be under attack by a hacker, since confined applications should never need this access.cCstj|t�d|_dS)NZred)r�__init__�__name__�level)�self�r
�//usr/share/setroubleshoot/plugins/setenforce.pyr4szplugin.__init__cCs$|jdg�r |jdg�r |j�SdS)N�writeZ
security_t)Zhas_any_access_inZmatches_target_typesZreport)r	Zavcr
r
r�analyze8szplugin.analyzeN)
r�
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmd�if_text�	then_text�do_textrr
r
r
r
rrsr)
�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrrrrr
r
r
r�<module>s