403Webshell
Server IP : 77.68.64.21  /  Your IP : 216.73.217.145
Web Server : Apache
System : Linux hp3-wp-1011352.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64
User : csh2516497 ( 2094697)
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_write_content.pyo
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBs>eZed�ZdZed�ZdZd�Zd�ZRS(s�
    SELinux prevented httpd $ACCESS access to $TARGET_PATH.

    httpd scripts are not allowed to write to content without explicit
    labeling of all files.  If $TARGET_PATH is writable content. it needs
    to be labeled httpd_sys_rw_content_t or if all you need is append you can label it httpd_sys_ra_content_t.   Please refer to 'man httpd_selinux' for more information on setting up httpd and selinux.
    s1chcon -R -t httpd_sys_rw_content_t '$TARGET_PATH's2You need to change the label on '$FIX_TARGET_PATH'sf# semanage fcontext -a -t httpd_sys_rw_content_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'cCs!tj|t�|jd�dS(Nid(Rt__init__t__name__tset_priority(tself((s8/usr/share/setroubleshoot/plugins/httpd_write_content.pyR,scCsf|jddg�rb|jdg�rb|jddg�rb|j|j|j�rb|j�SndS(Nthttpd_tthttpd_sys_script_tthttpd_sys_content_ttfiletdir(tmatches_source_typestmatches_target_typest
has_tclass_intall_accesses_are_intcreate_file_permstrw_dir_permstreporttNone(Rtavc((s8/usr/share/setroubleshoot/plugins/httpd_write_content.pytanalyze0s
(	Rt
__module__t_tproblem_descriptiontfix_cmdt	then_texttdo_textRR(((s8/usr/share/setroubleshoot/plugins/httpd_write_content.pyRs		(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s8/usr/share/setroubleshoot/plugins/httpd_write_content.pyt<module>s
	


Youez - 2016 - github.com/yon3zu
LinuXploit