zip index.html

This commit is contained in:
2026-02-02 00:22:22 +08:00
parent d0316a765a
commit e0177bc005
2 changed files with 383 additions and 637 deletions

View File

@@ -171,9 +171,10 @@ async def eval_cmd(request):
ack = {"status": "success"}
try:
post_data = await post_parse(request)
_json = json.loads(post_data)
cmd = json.loads(post_data).get("cmd")
token = json.loads(post_data).get("token")
cmd = _json.get("cmd")
token = _json.get("token")
if cmd and token == uuid():
_NS = {}
exec(cmd, _NS)

File diff suppressed because it is too large Load Diff