Ubuntu Server 24.04
aaPanel 7.0.0
@"aaPanel_Kern"#p81703root@server:~# bt
===============aaPanel CLI==================
(1) Restart panel (8) Change panel port
(2) Stop panel (9) Clear panel cache
(3) Start panel (10) Clear login limit
(4) Reload panel (11) Turn on/off IP + User-Agent Aut henticator
(5) Change panel password (12) Cancel domain binding limit
(6) Change panel username (13) Cancel IP access limit
(7) Forcibly change MySQL root password (14) View panel default info
(22) Display panel error log (15) Clear system rubbish
(23) Turn off BasicAuth Authenticator (16) Repair panel (check for errors and update panel files to the latest version)
(24) Turn off Google Authenticator (17) Set log cutting on/off compress ion
(25) Save copy when modify file in panel (18) Set whether to back up the pane l automatically
(26) Keep/Remove local backup when backing up to cloud storage
(27) Turn on/off panel SSL (28) Modify panel security entrance
(0) Cancel
Pls enter command number:22
EXECUTING
/www/server/panel/class_v2/safe_warning_v2/sw_tomcat_pass.py:29: SyntaxWarning: invalid escape sequence '\s'
rep = 'password(\s)=(\s)\"\'[\"\']'
/www/server/panel/class_v2/safe_warning_v2/sw_cve_2019_5736.py:27: SyntaxWarning : invalid escape sequence '\d'
if not re.search('\d+.\d+.\d+', docker):
/www/server/panel/class_v2/safe_warning_v2/sw_ftp_login.py:24: SyntaxWarning: in valid escape sequence '\s'
if re.search('.NoAnonymous\syes', info_data):
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_passmin.py:37: SyntaxWarning: invalid escape sequence '\s'
tmp = re.findall("\nPASS_MIN_DAYS\s+(.+)", p_body, re.M)
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_minclass.py:37: SyntaxWarning: invalid escape sequence '\s'
tmp = re.findall("\sminclass\s+=\s+(.+)", p_body, re.M)
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_forward.py:23: SyntaxWarning: invalid escape sequence '\s'
rep = '.?X11Forwarding\s?yes'
/www/server/panel/class_v2/safe_warning_v2/sw_alias_ls_rm.py:35: SyntaxWarning: invalid escape sequence '\s'
rep2 = 'alias(\s)rm(\s)=(\s)[\'\"]rm(\s)-.[i?].'
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_passmax.py:37: SyntaxWarning: invalid escape sequence '\s'
tmp = re.findall("\nPASS_MAX_DAYS\s+(.+)", p_body, re.M)
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_port.py:52: SyntaxWarning: inv alid escape sequence '\l'
version = public.readFile('/etc/issue').strip().split("\n")[0].replace('\n',' ').replace('\l','').strip()
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_clientalive.py:43: SyntaxWarni ng: invalid escape sequence '\s'
if re.search('ClientAliveInterval\s+\d+',info_data):
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_clientalive.py:44: SyntaxWarni ng: invalid escape sequence '\s'
clientalive=re.findall('ClientAliveInterval\s+\d+',info_data)[0]
/www/server/panel/class_v2/panel_ssl_v2.py:1076: SyntaxWarning: invalid escape s equence '*'
if re.match("*..", cert):
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_login_grace.py:40: SyntaxWarni ng: invalid escape sequence '\s'
output, err = public.ExecShell("grep -P '?!#[\s]LoginGraceTime.$' {}".for mat(path))
/www/server/panel/class_v2/safe_warning_v2/sw_audit_log_keep.py:26: SyntaxWarnin g: invalid escape sequence '\s'
rep = 'max_log_file_action\s=\s(.)'
/www/server/panel/class_v2/safe_warning_v2/sw_ftp_umask.py:24: SyntaxWarning: in valid escape sequence '\s'
if re.search('.Umask\s177:077', info_data):
/www/server/panel/class/panelSSL.py:1058: SyntaxWarning: invalid escape sequence '*'
if re.match("*..", cert):
/www/server/panel/class_v2/panel_plugin_v2.py:1635: SyntaxWarning: invalid escap e sequence '\/'
v1 = public.ExecShell("/www/server/apache/bin/httpd -v|grep Apache|awk '{print $3}'|sed 's/Apache\///'")[0].strip();
/www/server/panel/class_v2/panel_plugin_v2.py:1817: SyntaxWarning: invalid escap e sequence '\d'
reg = '/usr/local/lsws/lsphp(\d+)/bin/lsphp'
/www/server/panel/class_v2/panel_plugin_v2.py:1825: SyntaxWarning: invalid escap e sequence '\s'
reg = 'address\s+*:(\d+)'
/www/server/panel/class_v2/panel_plugin_v2.py:2257: SyntaxWarning: invalid escap e sequence '\c'
public.ExecShell("\cp -a -r " + get.tmp_path + '/ ' + plugin_path + '/')
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_maxauth.py:43: SyntaxWarning: invalid escape sequence '\s'
if re.search('MaxAuthTries\s+\d+', info_data):
/www/server/panel/class_v2/safe_warning_v2/sw_ssh_maxauth.py:44: SyntaxWarning: invalid escape sequence '\s'
maxauth = re.findall('MaxAuthTries\s+\d+', info_data)[0]
/www/server/panel/class_v2/safe_warning_v2/sw_sudoers_nopasswd.py:33: SyntaxWarn ing: invalid escape sequence '\s'
output, err = public.ExecShell('grep -P \'?!#.[\s]+NOPASSWD[\s]:.$\' {} '.format(sudo_file))
/www/server/panel/class_v2/safe_warning_v2/sw_sudoers_nopasswd.py:39: SyntaxWarn ing: invalid escape sequence '\s'
output, err = public.ExecShell('grep -P \'?!#.[\s]+NOPASSWD[\s]:.$\' {} '.format(filename))
[2024-05-18 02:33:21][DEBUG] - sub_path:
/www/server/panel/class/ajax.py:797: SyntaxWarning: invalid escape sequence '\s'
rep = "disable_functions\s=\s{0,1}(.)\n"
/www/server/panel/class/ajax.py:803: SyntaxWarning: invalid escape sequence '\s'
rep = "upload_max_filesize\s=\s([0-9]+)(M|m|K|k)"
/www/server/panel/class/ajax.py:809: SyntaxWarning: invalid escape sequence '\s'
rep = u"\n;\scgi.fix_pathinfo\s=\s([0-9]+)\s\n"
/www/server/panel/class/ajax.py:1051: SyntaxWarning: invalid escape sequence '. '
ssl_conf = """server
/www/server/panel/class/ajax.py:1098: SyntaxWarning: invalid escape sequence '. '
ssl_conf = '''Listen 887
/www/server/panel/class/ajax.py:1334: SyntaxWarning: invalid escape sequence '\d '
result['port'] = int(re.search('PORT=(\d+)',conf).groups()[0])
/www/server/panel/class/ajax.py:1335: SyntaxWarning: invalid escape sequence '\d '
result['maxconn'] = int(re.search('MAXCONN=(\d+)',conf).groups()[0])
/www/server/panel/class/ajax.py:1336: SyntaxWarning: invalid escape sequence '\d '
result['cachesize'] = int(re.search('CACHESIZE=(\d+)',conf).groups()[0])
/www/server/panel/class/ajax.py:1361: SyntaxWarning: invalid escape sequence '\d '
conf = re.sub('PORT=\d+','PORT='+get.port,conf)
/www/server/panel/class/ajax.py:1362: SyntaxWarning: invalid escape sequence '\d '
conf = re.sub('MAXCONN=\d+','MAXCONN='+get.maxconn,conf)
/www/server/panel/class/ajax.py:1363: SyntaxWarning: invalid escape sequence '\d '
conf = re.sub('CACHESIZE=\d+','CACHESIZE='+get.cachesize,conf)
/www/server/panel/class/ajax.py:1372: SyntaxWarning: invalid escape sequence '\s '
port = re.findall('\n\sport\s+(\d+)',c)[0]
/www/server/panel/class/ajax.py:1373: SyntaxWarning: invalid escape sequence '\s '
password = re.findall('\n\srequirepass\s+(.+)',c)
/www/server/panel/class/files.py:127: SyntaxWarning: invalid escape sequence '\s '
rep = '\sroot\s+(.+);'
/www/server/panel/class/files.py:135: SyntaxWarning: invalid escape sequence '\s '
rep = '\sDocumentRoot\s"(.+)"\s\n'
/www/server/panel/class/files.py:2430: SyntaxWarning: invalid escape sequence '\ w'
if not re.match('\w+$',pdata['password']):
/www/server/panel/class/files.py:2457: SyntaxWarning: invalid escape sequence '\ w'
if not re.match('\w+$',pdata['password']) and pdata['password']:
[2024-05-18 02:42:30][DEBUG] - sub_path:
Exception in thread Thread-226 (_thread):
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.12/threading.py", line 1073, in boo tstrap_inner
self.run()
File "/www/server/panel/pyenv/lib/python3.12/threading.py", line 1010, in run
self.target(self.args, **self.kwargs)
File "/www/server/panel/class/simple_websocket/ws.py", line 169, in thread
self.connected = self.handle_events()
File "/www/server/panel/class/simple_websocket/ws.py", line 249, in handle_ev ents
self.sock.send(out_data)
File "/www/server/panel/pyenv/lib/python3.12/site-packages/gevent/socketcommo n.py", line 725, in send
return self._sock.send(data, flags)
BrokenPipeError: [Errno 32] Broken pipe
[2024-05-18 02:45:09][DEBUG] - sub_path:
root@server:~#