用一个 API
操控你的每一台 Windows
在每台主机装一个 3 MB 的 agent,从云端发命令、跑 PowerShell、传文件、远程终端、按 token 计费。 Go / Python / TypeScript SDK 一行接入。
三步上线
1
在控制台创建主机
一键生成 install.ps1 安装包,专属 host_id 和 secretKey,KEK 加密落库。
2
在 Windows 主机跑 install.ps1
agent 自动注册自启动 + 防火墙 + DPAPI 落盘私钥; ed25519 challenge token 永不过期。
3
用 SDK 调你的主机
Go / Python / TypeScript 三语言一致 API;按 token 计费。
SDK 调用示例
from gateway_new_sdk import Client, ShellRequest
c = Client(base_url="https://api.gateway.wechas.com", api_key="ak_xxx.yyy")
for h in c.list_hosts():
print(h.name, "online" if h.online else "offline")
r = c.exec_shell("host-uuid", ShellRequest(
path="powershell.exe",
args="Get-Process | Select-Object -First 5",
))
print(r.stdout)