Linux sh52.ich-4.com 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
LiteSpeed
Server IP : 198.143.147.58 & Your IP : 216.73.217.21
Domains :
Cant Read [ /etc/named.conf ]
User : actualbuzz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.9 /
site-packages /
setroubleshoot /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-02-03 15:09
Plugin.py
5.18
KB
-rw-r--r--
2025-09-21 11:34
__init__.py
741
B
-rw-r--r--
2025-09-21 11:34
access_control.py
5.86
KB
-rw-r--r--
2025-09-21 11:34
analyze.py
25.87
KB
-rw-r--r--
2025-09-21 11:34
audit_data.py
40.52
KB
-rw-r--r--
2025-09-21 11:34
avc_audit.py
14.94
KB
-rw-r--r--
2025-09-21 11:34
config.py
20.7
KB
-rw-r--r--
2025-09-21 11:34
email_alert.py
5.81
KB
-rw-r--r--
2025-09-21 11:34
errcode.py
3.47
KB
-rw-r--r--
2025-09-21 11:34
html_util.py
2.03
KB
-rw-r--r--
2025-09-21 11:34
rpc.py
37.01
KB
-rw-r--r--
2025-09-21 11:34
rpc_interfaces.py
4.68
KB
-rw-r--r--
2025-09-21 11:34
server.py
33.67
KB
-rw-r--r--
2025-09-21 11:34
serverconnection.py
6.14
KB
-rw-r--r--
2025-09-21 11:34
signature.py
33.26
KB
-rw-r--r--
2025-09-21 11:34
util.py
34.57
KB
-rw-r--r--
2025-09-21 11:34
uuid.py
16.52
KB
-rw-r--r--
2025-09-21 11:34
xml_serialize.py
15.83
KB
-rw-r--r--
2025-09-21 11:34
Save
Rename
# Authors: John Dennis <jdennis@redhat.com> # # Copyright (C) 2007 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. # __all__ = [ 'escape_html', 'unescape_html', 'html_to_text', ] import syslog import textwrap from html.parser import HTMLParser #------------------------------------------------------------------------------ class HTMLFilter(HTMLParser): def __init__(self): HTMLParser.__init__(self) self.text = "" def handle_data(self, data): self.text += data #------------------------------------------------------------------------------ def escape_html(s): if s is None: return None s = s.replace("&", "&") # Must be done first! s = s.replace("<", "<") s = s.replace(">", ">") s = s.replace("'", "'") s = s.replace('"', """) return s def unescape_html(s): if s is None: return None if '&' not in s: return s s = s.replace("<", "<") s = s.replace(">", ">") s = s.replace("'", "'") s = s.replace(""", '"') s = s.replace("&", "&") # Must be last return s def html_to_text(html, maxcol=80): try: hfilter = HTMLFilter() hfilter.feed(html) return textwrap.fill(hfilter.text, width=maxcol) except Exception as e: syslog.syslog(syslog.LOG_ERR, 'cannot convert html to text: %s' % e) return None