Versions in this module Expand all Collapse all v1 v1.0.1 Dec 7, 2021 Changes in this version + const AF_INET + const AF_INET6 + const AUTODETECT_REQ + const AUTODETECT_RSP + const ENCRYPT + const EXCHANGE_PKT + const FASTPATH_OUTPUT_ENCRYPTED + const FASTPATH_OUTPUT_SECURE_CHECKSUM + const FLAGSHI_VALID + const HEARTBEAT + const IGNORE_SEQNO + const INFO_AUDIOCAPTURE + const INFO_AUTOLOGON + const INFO_COMPRESSION + const INFO_CompressionTypeMask + const INFO_DISABLECTRLALTDEL + const INFO_ENABLEWINDOWSKEY + const INFO_FORCE_ENCRYPTED_CS_PDU + const INFO_LOGONERRORS + const INFO_LOGONNOTIFY + const INFO_MAXIMIZESHELL + const INFO_MOUSE + const INFO_MOUSE_HAS_WHEEL + const INFO_NOAUDIOPLAYBACK + const INFO_PASSWORD_IS_SC_PIN + const INFO_PKT + const INFO_RAIL + const INFO_REMOTECONSOLEAUDIO + const INFO_UNICODE + const INFO_USING_SAVED_CREDS + const INFO_VIDEO_DISABLE + const LICENSE_ENCRYPT_CS + const LICENSE_ENCRYPT_SC + const LICENSE_PKT + const PERF_DISABLE_CURSORSETTINGS + const PERF_DISABLE_CURSOR_SHADOW + const PERF_DISABLE_FULLWINDOWDRAG + const PERF_DISABLE_MENUANIMATIONS + const PERF_DISABLE_THEMING + const PERF_DISABLE_WALLPAPER + const PERF_ENABLE_DESKTOP_COMPOSITION + const PERF_ENABLE_FONT_SMOOTHING + const REDIRECTION_PKT + const RESET_SEQNO + const SECURE_CHECKSUM + const TRANSPORT_REQ + const TRANSPORT_RSP + type Client struct + func NewClient(t core.Transport) *Client + func (c *Client) ClientCoreData() *gcc.ClientCoreData + func (c *Client) ClientNetworkData() *gcc.ClientNetworkData + func (c *Client) ClientSecurityData() *gcc.ClientSecurityData + func (c *Client) RecvFastPath(secFlag byte, s []byte) + func (c *Client) ServerSecurityData() *gcc.ServerSecurityData + func (c *Client) SetAlternateShell(shell string) + func (c *Client) SetClientAutoReconnect(id uint32, random []byte) + func (c *Client) SetDomain(domain string) + func (c *Client) SetFastPathListener(f core.FastPathListener) + func (c *Client) SetPwd(pwd string) + func (c *Client) SetUser(user string) + type ClientAutoReconnect struct + CbAutoReconnectLen uint16 + CbLen uint32 + LogonId uint32 + SecVerifier []byte + Version uint32 + func NewClientAutoReconnect(id uint32, random []byte) *ClientAutoReconnect + type ClientSecurityExchangePDU struct + EncryptedClientRandom []byte + Length uint32 + Padding []byte + type RDPExtendedInfo struct + AutoReconnect *ClientAutoReconnect + CbClientAddress uint16 + CbClientDir uint16 + ClientAddress []byte + ClientAddressFamily uint16 + ClientDir []byte + ClientSessionId uint32 + ClientTimeZone []byte + PerformanceFlags uint32 + func NewExtendedInfo(auto *ClientAutoReconnect) *RDPExtendedInfo + func (o *RDPExtendedInfo) Serialize() []byte + type RDPInfo struct + AlternateShell []byte + CbAlternateShell uint16 + CbDomain uint16 + CbPassword uint16 + CbUserName uint16 + CbWorkingDir uint16 + CodePage uint32 + Domain []byte + ExtendedInfo *RDPExtendedInfo + Flag uint32 + Password []byte + UserName []byte + WorkingDir []byte + func NewRDPInfo() *RDPInfo + func (o *RDPInfo) Serialize(hasExtended bool) []byte + func (o *RDPInfo) SetClientAutoReconnect(auto *ClientAutoReconnect) + type SEC struct + func NewSEC(t core.Transport) *SEC + func (s *SEC) Close() error + func (s *SEC) Read(data []byte) (n int, err error) + func (s *SEC) Write(b []byte) (n int, err error) + type SecurityHeader struct