Security: upgrade to wss:// (TLS) + update agent binaries

- Install scripts now connect via wss:// (encrypted WebSocket)
- Agent binaries rebuilt with TLS support (self-signed cert skip)
This commit is contained in:
dongsheng123132
2026-03-22 21:55:24 +08:00
parent 531980efa4
commit c32049e07a
5 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
try { chcp 65001 | Out-Null } catch {} try { chcp 65001 | Out-Null } catch {}
Set-ExecutionPolicy Bypass -Scope Process -Force -ErrorAction SilentlyContinue Set-ExecutionPolicy Bypass -Scope Process -Force -ErrorAction SilentlyContinue
$RELAY_SERVER = "ws://47.107.130.152:8900" $RELAY_SERVER = "wss://47.107.130.152:8900"
$DOWNLOAD_URL = "https://u-claw.org/downloads/agent.exe" $DOWNLOAD_URL = "https://u-claw.org/downloads/agent.exe"
$AGENT_DIR = "$env:TEMP\uclaw" $AGENT_DIR = "$env:TEMP\uclaw"
$AGENT_PATH = "$AGENT_DIR\agent.exe" $AGENT_PATH = "$AGENT_DIR\agent.exe"

View File

@@ -6,7 +6,7 @@
set -e set -e
RELAY_SERVER="ws://47.107.130.152:8900" RELAY_SERVER="wss://47.107.130.152:8900"
TOKEN="uclaw-agent-pub" TOKEN="uclaw-agent-pub"
TIMEOUT_HOURS=2 TIMEOUT_HOURS=2
AGENT_DIR="/tmp/uclaw" AGENT_DIR="/tmp/uclaw"

Binary file not shown.

Binary file not shown.

Binary file not shown.