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.15.158.134
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 /
mod /
base /
push_mod /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
17.01
KB
-rw-r--r--
base_task.py
9.72
KB
-rw-r--r--
compatible.py
787
B
-rw-r--r--
database_push.py
9.24
KB
-rw-r--r--
database_push_template.json
1.55
KB
-rw-r--r--
domain_blcheck_push.py
5.62
KB
-rw-r--r--
domain_blcheck_push_template.j...
1.82
KB
-rw-r--r--
load_push.py
10.69
KB
-rw-r--r--
manager.py
17.54
KB
-rw-r--r--
mods.py
12.87
KB
-rw-r--r--
rsync_push.py
10.03
KB
-rw-r--r--
send_tool.py
3.29
KB
-rw-r--r--
site_push.py
55.03
KB
-rw-r--r--
site_push_template.json
7.78
KB
-rw-r--r--
ssl_push.py
13.28
KB
-rw-r--r--
ssl_push_template.json
2.27
KB
-rw-r--r--
system.py
17.35
KB
-rw-r--r--
system_push.py
15.3
KB
-rw-r--r--
system_push_template.json
5.5
KB
-rw-r--r--
task_manager_push.py
17.17
KB
-rw-r--r--
tool.py
2.24
KB
-rw-r--r--
util.py
3.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tool.py
import sys from typing import Optional, Type, TypeVar import traceback from importlib import import_module from .base_task import BaseTask from .util import GET_CLASS, get_client_ip, debug_log T_CLS = TypeVar('T_CLS', bound=BaseTask) def load_task_cls_by_function( name: str, func_name: str, is_model: bool = False, model_index: str = '', args: Optional[dict] = None, sub_name: Optional[str] = None, ) -> Optional[Type[T_CLS]]: """ 从执行函数的结果中获取任务类 @param model_index: 模块来源,例如:新场景就是mod @param name: 名称 @param func_name: 函数名称 @param is_model: 是否在Model中,不在Model中,就应该在插件中 @param args: 请求这个接口的参数, 默认为空 @param sub_name: 自分类名称, 如果有,则会和主名称name做拼接 @return: 返回None 或者有效的任务类 """ import PluginLoader real_name = name if isinstance(sub_name, str): real_name = "{}/{}".format(name, sub_name) get_obj = GET_CLASS() if args is not None and isinstance(args, dict): for key, value in args.items(): setattr(get_obj, key, value) try: if is_model: get_obj.model_index = model_index res = PluginLoader.module_run(real_name, func_name, get_obj) else: get_obj.fun = func_name get_obj.s = func_name get_obj.client_ip = get_client_ip res = PluginLoader.plugin_run(name, func_name, get_obj) except: debug_log(traceback.format_exc()) return None if isinstance(res, dict): return None elif isinstance(res, BaseTask): return res.__class__ elif issubclass(res, BaseTask): return res return None def load_task_cls_by_path(path: str, cls_name: str) -> Optional[Type[T_CLS]]: try: module = import_module(path) cls = getattr(module, cls_name, None) if issubclass(cls, BaseTask): return cls elif isinstance(cls, BaseTask): return cls.__class__ else: return None except: print(traceback.format_exc()) print(sys.path) debug_log(traceback.format_exc()) return None
Close