fix: keep RDP creds out of tunnel URL/logs via single-use encrypted stash

This commit is contained in:
mrhid6 committed 2026-07-17 11:28:00 +01:00
1 parent 138f708a87
commit 332c7760ca
4 files changed
+72 -5

No files matched your search

@@ -16,4 +16,7 @@ type ConsoleSession struct {
StartedAt time.Time `bson:"started_at" json:"started_at"`
EndedAt *time.Time `bson:"ended_at,omitempty" json:"ended_at,omitempty"`
ClientIP string `bson:"client_ip,omitempty" json:"client_ip,omitempty"`
RDPUserEnc string `bson:"rdp_user_enc,omitempty" json:"-"`
RDPPassEnc string `bson:"rdp_pass_enc,omitempty" json:"-"`
}