- Go stdlib-only gateway: serves noVNC client, password auth, WS<->TCP relay - auth: PBKDF2-HMAC-SHA256 password hash, HMAC session cookies, login rate limit - relay: hand-written RFC 6455 WebSocket + transparent RFB bridge - vncspawner: cross-OS VNC server detection/launch (Windows/Linux/macOS) - server: /login /logout /vnc /api/status routes, session middleware, embed.FS - scripts: get-novnc, get-vnc (zip-verified), list-ips, open-firewall - run.bat: one-click launcher (asks only password), lists access IPs - README/AGENTS.md (Russian), .gitignore (root-anchored binaries)
9 lines
144 B
Go
9 lines
144 B
Go
//go:build !windows
|
|
|
|
package vncspawner
|
|
|
|
import "os/exec"
|
|
|
|
// hideWindow is a no-op on non-Windows platforms.
|
|
func hideWindow(cmd *exec.Cmd) {}
|