Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
UpdateManager /
[ HOME SHELL ]
Name
Size
Permission
Action
backend
[ DIR ]
drwxr-xr-x
Core
[ DIR ]
drwxr-xr-x
__pycache__
[ DIR ]
drwxr-xr-x
ChangelogViewer.py
12.14
KB
-rw-r--r--
Dialogs.py
16.06
KB
-rw-r--r--
HelpViewer.py
1.01
KB
-rw-r--r--
__init__.py
0
B
-rw-r--r--
MetaReleaseGObject.py
2.33
KB
-rw-r--r--
UnitySupport.py
3.32
KB
-rw-r--r--
UpdateManager.py
19.71
KB
-rw-r--r--
UpdateManagerVersion.py
23
B
-rw-r--r--
UpdatesAvailable.py
46.84
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : HelpViewer.py
# helpviewer.py # -*- Mode: Python; indent-tabs-mode: nil; tab-width: 4; coding: utf-8 -*- import os import subprocess # Hardcoded list of available help viewers # FIXME: khelpcenter support would be nice #KNOWN_VIEWERS = ["/usr/bin/yelp", "/usr/bin/khelpcenter"] KNOWN_VIEWERS = ["/usr/bin/yelp"] class HelpViewer: def __init__(self, docu): self.command = [] self.docu = docu for viewer in KNOWN_VIEWERS: if os.path.exists(viewer): self.command = [viewer, "help:%s" % docu] break def check(self): """check if a viewer is available""" if self.command == []: return False else: return True def run(self): """open the documentation in the viewer""" # avoid running the help viewer as root if os.getuid() == 0 and 'SUDO_USER' in os.environ: self.command = ['sudo', '-u', os.environ['SUDO_USER']] +\ self.command subprocess.Popen(self.command)
Close