- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.117.188.109
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/setroubleshoot/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/setroubleshoot/plugins/__pycache__/file.cpython-36.opt-1.pyc
3

nm�a��@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@s\eZdZed�Zed�Zed�Zdd�Zdd�Zdd	�Z	d
d�Z
dd
�Zdd�Zdd�Z
dS)�pluginzE
    SELinux is preventing access to a file labeled unlabeled_t.
    aT
    SELinux permission checks on files labeled unlabeled_t are being
    denied. unlabeled_t is a context the SELinux kernel gives to files
    that do not have a label. This indicates a serious labeling
    problem. No files on an SELinux box should ever be labeled unlabeled_t.
    If you have just added a disk drive to the system, you can
    relabel it using the restorecon command. For example if you saved the
home directory from a previous installation that did not use SELinux, 'restorecon -R -v /home' will fix the labels.  Otherwise you should
    relabel the entire file system.
    zz
    You can execute the following command as root to relabel your
    computer system: "touch /.autorelabel; reboot"
    cCs|dkrtd�Std�SdS)N�rz.This is caused by a newly created file system.z:If you think this is caused by a badly mislabeled machine.)rr)�_)�self�avc�args�r
�)/usr/share/setroubleshoot/plugins/file.py�get_if_text/szplugin.get_if_textcCs|dkrtd�Std�SdS)Nrrzyou need to add labels to it.zyou need to fully relabel.)rr)r)rrr	r
r
r�
get_then_text5szplugin.get_then_textcCs|dkrdSdSdS)Nrrz#/sbin/restorecon -R -v $TARGET_PATHztouch /.autorelabel; reboot)rrr
)rrr	r
r
r�get_do_text;szplugin.get_do_textcCs|dkrdSdSdS)Nrrz#/sbin/restorecon -R -v $TARGET_PATHztouch /.autorelabel; reboot)rrr
)rrr	r
r
r�get_fix_cmdAszplugin.get_fix_cmdcCs6|dkrtd�|_|jd�ntd�|_|jd�dS)NrrzTry to fix the label.�Fz/Relabel the whole file system. Includes reboot!�)rr)rZbutton_textZset_priority)rr	r
r
r�	init_argsGs


zplugin.init_argscCstj|t�d|_d|_dS)NZgreenT)r�__init__�__name__�levelZfixable)rr
r
rrOszplugin.__init__cCs<|jdg�r4g}|j|jd��|j|jd��|SdSdS)NZunlabeled_trr�)rr)rr)Zmatches_target_types�appendZreport)rrZreportsr
r
r�analyzeTszplugin.analyzeN)r�
__module__�__qualname__rZsummaryZproblem_descriptionZfix_descriptionrr
rrrrrr
r
r
rrs	r)�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrr
r
r
r�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit