403Webshell
Server IP : 68.178.164.50  /  Your IP : 216.73.216.142
Web Server : Apache
System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
User : rathinambschool ( 1053)
PHP Version : 8.2.30
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  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__/swapfile.cpython-39.pyc
a

�Z`��@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@sDeZdZed�Zed�Zed�ZdZed�ZdZ	dd�Z
d	d
�ZdS)�pluginzG
    SELinux is preventing $SOURCE_PATH "$ACCESS" to $TARGET_PATH.
    a	
    SELinux denied $SOURCE access to $TARGET_PATH.
    If this is a swapfile, it has to have a file context label of
    swapfile_t. If you did not intend to use
    $TARGET_PATH as a swapfile, this message could indicate either a bug or an intrusion attempt.
    a	
    You can alter the file context by executing chcon -t swapfile_t '$TARGET_PATH'
    You must also change the default file context files on the system in order to preserve them even on a full relabel.  "semanage fcontext -a -t swapfile_t '$FIX_TARGET_PATH'"
    z"chcon -t swapfile_t '$TARGET_PATH'z2You need to change the label on '$FIX_TARGET_PATH'zZ# semanage fcontext -a -t swapfile_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'cCst�|t�d|_dS)NZgreen)r�__init__�__name__�level)�self�r	�-/usr/share/setroubleshoot/plugins/swapfile.pyr0szplugin.__init__cCs6|�dg�r.|�gd��r.|�dg�r.|��SdSdS)NZfsadm_t)�read�write�getattrZswapon�file)Zmatches_source_typesZall_accesses_are_inZ
has_tclass_inZreport)rZavcr	r	r
�analyze4s�
�zplugin.analyzeN)r�
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZ	then_textZdo_textrrr	r	r	r
rsr)�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrr	r	r	r
�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit