Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DESEncode ¶
Ref: https://stackoverflow.com/questions/41579325/golang-how-do-i-decrypt-with-des-cbc-and-pkcs7
func GetAgentOS ¶
func GetAgentOS() string
func IsWaylandDisplayServer ¶ added in v0.9.0
func IsWaylandDisplayServer() bool
func UltraVNCEncrypt ¶
Types ¶
type RemoteDesktopService ¶
type RemoteDesktopService struct {
Name string
StartCommand string
SystemctlCommand string
StopCommand string
StopCommandArgs []string
Configure func() error
SavePIN func(pin string) error
RemovePIN func() error
Proxy *echo.Echo
ProxyCert string
ProxyKey string
ProxyPort string
RequiresVNCProxy bool
StartService func(vncPort string) error
StopService func() error
}
func GetSupportedRemoteDesktopService ¶
func GetSupportedRemoteDesktopService(agentOS, sid, proxyPort string) (*RemoteDesktopService, error)
func New ¶
func New(certPath, keyPath, sid, proxyPort string) (*RemoteDesktopService, error)
func (*RemoteDesktopService) Start ¶
func (rd *RemoteDesktopService) Start(pin string, notifyUser bool)
func (*RemoteDesktopService) StartVNCProxy ¶
func (rd *RemoteDesktopService) StartVNCProxy(port string)
func (*RemoteDesktopService) Stop ¶
func (rd *RemoteDesktopService) Stop()
Click to show internal directories.
Click to hide internal directories.