Security: dual token + customer guide page

- Split auth into agent-token (public) and controller-token (secret)
- Agent token in scripts can't be used to control devices
- Add agent.html: step-by-step guide for customers (Win/Mac/Linux)
- Update agent binaries with new token defaults
This commit is contained in:
dongsheng123132
2026-03-22 21:23:28 +08:00
parent a7db8e55f2
commit 934cecaf74
6 changed files with 203 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ $RELAY_SERVER = "ws://47.107.130.152:8900"
$DOWNLOAD_URL = "https://u-claw.org/downloads/agent.exe"
$AGENT_DIR = "$env:TEMP\uclaw"
$AGENT_PATH = "$AGENT_DIR\agent.exe"
$TOKEN = "remote-agent-secret"
$TOKEN = "uclaw-agent-pub"
$TIMEOUT_HOURS = 2
Clear-Host