太垃圾,不管用,还报错。
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/panelPlugin.py", line 1924, in a
return eval(execStr)
File "", line 1, in
File "plugin/webshell/webshell_main.py", line 114, in san_dir
file=self.getdir_list(get)
File "plugin/webshell/webshell_main.py", line 58, in getdir_list
rs = self.getdir(path, pc)
File "plugin/webshell/webshell_main.py", line 47, in getdir
lis=self.getdir(dir+'/'+l,pc,lis)
File "plugin/webshell/webshell_main.py", line 47, in getdir
lis=self.getdir(dir+'/'+l,pc,lis)
File "plugin/webshell/webshell_main.py", line 47, in getdir
lis=self.getdir(dir+'/'+l,pc,lis)
[Previous line repeated 6 more times]
File "plugin/webshell/webshell_main.py", line 49, in getdir
print (dir+'/'+l)
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 84-87: surrogates not allowed |