Commit Graph
1 Commits
Author SHA1 Message Date
Paolo Pellicori fa3f607705 [Security] Keep the Windows VM password out of the RDP client's argument list
`launch_windows` passed the VM password to xfreerdp3 as `/p:"$WIN_PASS"`.
`/proc/<pid>/cmdline` is world-readable, so every other user on the machine
could read the password for as long as the session stayed open — `ps` was
enough.

The arguments now go in over stdin with `/args-from:stdin`, leaving only that
flag in the process list. The argument list itself is unchanged, and building
it as an array also fixes the unquoted `$RDP_SCALE` expansion.
2026-08-23 17:01:26 +02:00