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 /
AptUrl /
[ HOME SHELL ]
Name
Size
Permission
Action
gtk
[ DIR ]
drwxr-xr-x
__pycache__
[ DIR ]
drwxr-xr-x
AptUrl.py
8.7
KB
-rw-r--r--
Helpers.py
2.03
KB
-rw-r--r--
__init__.py
0
B
-rw-r--r--
Parser.py
5.14
KB
-rw-r--r--
UI.py
1.64
KB
-rw-r--r--
Version.py
0
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : UI.py
from .Helpers import _, _n class AbstractUI(object): # generic dialogs def error(self, summary, msg): return False def yesNoQuestion(self, summary, msg, title, default='no'): pass def message(self, summary, msg): return True # specific dialogs def askEnableSections(self, sections): " generic implementation, can be overridden " return self.yesNoQuestion(_("Enable additional components"), _n("Do you want to enable the following " "component: '%s'?", "Do you want to enable the following " "components: '%s'?", len(sections)) % ", ".join(sections)) def askEnableChannel(self, channel, channel_info_html): " generic implementation, can be overridden " return self.yesNoQuestion(_("Enable additional software channel"), _("Do you want to enable the following " "software channel: '%s'?") % channel) def askInstallPackage(self): pass # install/update progress def doUpdate(self): pass def doInstall(self, pkglist): pass # UI specific actions for enabling stuff # FIXME: the next two functions shoud go into generic code # that checks for the availablility of tools # like gksu or kdesudo and uses them # appropriately def doEnableSection(self, sections): pass def doEnableChannel(self, channelpath, channelkey): pass
Close