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/qemu_file_image.pyo
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsbeZed�Zed�Zed�ZdZed�Zed�ZdZ	d�Z
d�ZRS(	sN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    s�
    SELinux denied qemu access to $TARGET_PATH.
    If this is a virtualization image, it has to have a file context label of
    virt_image_t. The system is setup to label image files in directory./var/lib/libvirt/images
    correctly.  We recommend that you copy your image file to /var/lib/libvirt/images.
    If you really want to have your qemu image files in the current directory, you can relabel $TARGET_PATH to be virt_image_t using chcon.  You also need to execute semanage fcontext -a -t virt_image_t '$FIX_TARGET_PATH' to add this
    new path to the system defaults. If you did not intend to use $TARGET_PATH as a qemu
    image it could indicate either a bug or an intrusion attempt.
    s

    You can alter the file context by executing chcon -t virt_image_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 virt_image_t '$FIX_TARGET_PATH'"
    s$chcon -t virt_image_t '$TARGET_PATH's/If $TARGET_BASE_PATH is a virtualization targets2You need to change the label on $TARGET_BASE_PATH's\# semanage fcontext -a -t virt_image_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'cCstj|t�dS(N(Rt__init__t__name__(tself((s4/usr/share/setroubleshoot/plugins/qemu_file_image.pyR4scCs^|jdg�rV|j|j|j�rV|jddg�rV|j�rV|j�SdSdS(Ntqemu_ttfiletdir(tmatches_source_typestall_accesses_are_int
rw_file_permstr_dir_permst
has_tclass_intpath_is_not_standard_directorytreporttNone(Rtavc((s4/usr/share/setroubleshoot/plugins/qemu_file_image.pytanalyze7s
(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdtif_textt	then_texttdo_textRR(((s4/usr/share/setroubleshoot/plugins/qemu_file_image.pyRs				(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s4/usr/share/setroubleshoot/plugins/qemu_file_image.pyt<module>s
	


Youez - 2016 - github.com/yon3zu
LinuXploit