Linux server1.hosting4iran.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.218
Domains : 282 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
setroubleshoot /
plugins /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2023-11-28 12:31
__init__.py
2
B
-rw-r--r--
2021-11-09 12:45
allow_anon_write.py
3.25
KB
-rw-r--r--
2021-11-09 12:45
allow_execheap.py
2.39
KB
-rw-r--r--
2021-11-09 12:45
allow_execmem.py
3.07
KB
-rw-r--r--
2021-11-09 12:45
allow_execmod.py
5.41
KB
-rw-r--r--
2021-11-09 12:45
allow_execstack.py
4.73
KB
-rw-r--r--
2021-11-09 12:45
allow_ftpd_use_cifs.py
3.41
KB
-rw-r--r--
2021-11-09 12:45
allow_ftpd_use_nfs.py
3.3
KB
-rw-r--r--
2021-11-09 12:45
associate.py
2.15
KB
-rw-r--r--
2021-11-09 12:45
automount_exec_config.py
2.66
KB
-rw-r--r--
2021-11-09 12:45
bind_ports.py
2.81
KB
-rw-r--r--
2021-11-09 12:45
catchall.py
2.89
KB
-rw-r--r--
2021-11-09 12:45
catchall_boolean.py
2.89
KB
-rw-r--r--
2021-11-09 12:45
catchall_labels.py
2.2
KB
-rw-r--r--
2021-11-09 12:45
chrome.py
2.6
KB
-rw-r--r--
2021-11-09 12:45
connect_ports.py
2.68
KB
-rw-r--r--
2021-11-09 12:45
cvs_data.py
2.58
KB
-rw-r--r--
2021-11-09 12:45
dac_override.py
2.1
KB
-rw-r--r--
2021-11-09 12:45
device.py
2.74
KB
-rw-r--r--
2021-11-09 12:45
disable_ipv6.py
1.62
KB
-rw-r--r--
2021-11-09 12:45
file.py
3.21
KB
-rw-r--r--
2021-11-09 12:45
filesystem_associate.py
2.46
KB
-rw-r--r--
2021-11-09 12:45
httpd_can_sendmail.py
1.93
KB
-rw-r--r--
2021-11-09 12:45
httpd_unified.py
2.86
KB
-rw-r--r--
2021-11-09 12:45
httpd_write_content.py
2.11
KB
-rw-r--r--
2021-11-09 12:45
kernel_modules.py
2.74
KB
-rw-r--r--
2021-11-09 12:45
leaks.py
2.49
KB
-rw-r--r--
2021-11-09 12:45
mmap_zero.py
2.33
KB
-rw-r--r--
2021-11-09 12:45
mounton.py
2.48
KB
-rw-r--r--
2021-11-09 12:45
mozplugger.py
2.79
KB
-rw-r--r--
2021-11-09 12:45
mozplugger_remove.py
2.17
KB
-rw-r--r--
2021-11-09 12:45
openvpn.py
2.76
KB
-rw-r--r--
2021-11-09 12:45
public_content.py
2.57
KB
-rw-r--r--
2021-11-09 12:45
qemu_blk_image.py
2.55
KB
-rw-r--r--
2021-11-09 12:45
qemu_file_image.py
2.88
KB
-rw-r--r--
2021-11-09 12:45
restorecon.py
5.32
KB
-rw-r--r--
2021-11-09 12:45
restorecon_source.py
3.01
KB
-rw-r--r--
2021-11-09 12:45
rsync_data.py
2.53
KB
-rw-r--r--
2021-11-09 12:45
samba_share.py
2.94
KB
-rw-r--r--
2021-11-09 12:45
sandbox_connect.py
2.23
KB
-rw-r--r--
2021-11-09 12:45
selinuxpolicy.py
3.09
KB
-rw-r--r--
2021-11-09 12:45
setenforce.py
2.39
KB
-rw-r--r--
2021-11-09 12:45
sshd_root.py
2.08
KB
-rw-r--r--
2021-11-09 12:45
swapfile.py
2.23
KB
-rw-r--r--
2021-11-09 12:45
sys_module.py
2.35
KB
-rw-r--r--
2021-11-09 12:45
sys_resource.py
2.62
KB
-rw-r--r--
2021-11-09 12:45
vbetool.py
2.52
KB
-rw-r--r--
2021-11-09 12:45
wine.py
2.92
KB
-rw-r--r--
2021-11-09 12:45
xen_image.py
2.8
KB
-rw-r--r--
2021-11-09 12:45
Save
Rename
# # Authors: Dan Walsh <dwalsh@redhat.com> # # Copyright (C) 2013 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # import gettext translation=gettext.translation('setroubleshoot-plugins', fallback=True) _=translation.gettext from setroubleshoot.util import * from setroubleshoot.Plugin import Plugin import os from stat import * import selinux import selinux class plugin(Plugin): summary = _(''' SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH. ''') fix_cmd = "/sbin/restorecon $SOURCE_PATH" fix_description = _(''' You can restore the default system context to this file by executing the restorecon command. restorecon '$SOURCE_PATH'. ''') def get_problem_description(self, avc, args): return _(''' 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. ''') % args[1] if_text = _("If you want to fix the label. \n$SOURCE_PATH default label should be %s.") def get_if_text(self, avc, args): return self.if_text % args[1] then_text = _('you can run restorecon.') do_text = '# /sbin/restorecon -v $SOURCE_PATH' def __init__(self): Plugin.__init__(self, __name__) self.set_priority(100) self.level = "green" self.fixable = True self.button_text=_("Restore\nContext") def analyze(self, avc): if not avc.query_environment: return None if avc.spath is None: return None if avc.spath[0] != '/': return None try: mcon = selinux.matchpathcon(avc.spath.strip('"'), S_IFREG)[1] mcon_type=mcon.split(":")[2] gcon = selinux.getfilecon(avc.spath.strip('"'))[1] gcon_type = gcon.split(":")[2] if mcon_type != gcon_type: return self.report((0, mcon_type)) except OSError: pass return None