Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
trac /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
admin
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
htdocs
[ DIR ]
drwxr-xr-x
locale
[ DIR ]
drwxr-xr-x
mimeview
[ DIR ]
drwxr-xr-x
notification
[ DIR ]
drwxr-xr-x
prefs
[ DIR ]
drwxr-xr-x
search
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
ticket
[ DIR ]
drwxr-xr-x
timeline
[ DIR ]
drwxr-xr-x
upgrades
[ DIR ]
drwxr-xr-x
util
[ DIR ]
drwxr-xr-x
versioncontrol
[ DIR ]
drwxr-xr-x
web
[ DIR ]
drwxr-xr-x
wiki
[ DIR ]
drwxr-xr-x
__init__.py
676
B
-rw-r--r--
about.py
2.7
KB
-rw-r--r--
api.py
2.26
KB
-rw-r--r--
attachment.py
47.45
KB
-rw-r--r--
cache.py
9.89
KB
-rw-r--r--
config.py
36.29
KB
-rw-r--r--
core.py
9.75
KB
-rw-r--r--
db_default.py
14.51
KB
-rw-r--r--
dist.py
24.48
KB
-rw-r--r--
env.py
44.2
KB
-rw-r--r--
loader.py
10.02
KB
-rw-r--r--
log.py
2.71
KB
-rw-r--r--
perm.py
32.4
KB
-rw-r--r--
resource.py
16.23
KB
-rw-r--r--
test.py
20.9
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : about.py
# -*- coding: utf-8 -*- # # Copyright (C) 2004-2021 Edgewall Software # Copyright (C) 2004-2005 Jonas Borgström <jonas@edgewall.com> # Copyright (C) 2004-2005 Daniel Lundin <daniel@edgewall.com> # Copyright (C) 2005-2006 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at https://trac.edgewall.org/wiki/TracLicense. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at https://trac.edgewall.org/log/. # # Author: Jonas Borgström <jonas@edgewall.com> # Christopher Lenz <cmlenz@gmx.de> import re from trac.config import get_configinfo from trac.core import * from trac.loader import get_plugin_info from trac.perm import IPermissionRequestor from trac.util.html import tag from trac.util.translation import _ from trac.web.api import IRequestHandler from trac.web.chrome import Chrome, INavigationContributor, accesskey class AboutModule(Component): """"About Trac" page provider, showing version information from third-party packages, as well as configuration information.""" required = True implements(INavigationContributor, IPermissionRequestor, IRequestHandler) # INavigationContributor methods def get_active_navigation_item(self, req): return 'about' def get_navigation_items(self, req): yield ('metanav', 'about', tag.a(_("About Trac"), href=req.href.about(), accesskey=accesskey(req, 9))) # IPermissionRequestor methods def get_permission_actions(self): return ['CONFIG_VIEW'] # IRequestHandler methods def match_request(self, req): return re.match(r'/about(?:_trac)?$', req.path_info) def process_request(self, req): data = {'systeminfo': None, 'plugins': None, 'config': None, 'interface': None} if 'CONFIG_VIEW' in req.perm('config', 'systeminfo'): # Collect system information data['system_info'] = self.env.system_info Chrome(self.env).add_jquery_ui(req) if 'CONFIG_VIEW' in req.perm('config', 'plugins'): # Collect plugin information data['plugins'] = get_plugin_info(self.env) if 'CONFIG_VIEW' in req.perm('config', 'interface'): data['interface'] = \ Chrome(self.env).get_interface_customization_files() if 'CONFIG_VIEW' in req.perm('config', 'ini'): # Collect config information data['config'] = get_configinfo(self.env) return 'about.html', data
Close