Versions in this module Expand all Collapse all v0 v0.1.0 Nov 23, 2023 Changes in this version + const MsvAvDnsComputerName + const MsvAvDnsDomainName + const MsvAvDnsTreeName + const MsvAvEOL + const MsvAvFlags + const MsvAvNbComputerName + const MsvAvNbDomainName + const MsvAvSingleHost + const MsvAvTargetName + const MsvAvTimestamp + const MsvChannelBindings + const NTLMSSP_NEGOTIATE_128 + const NTLMSSP_NEGOTIATE_56 + const NTLMSSP_NEGOTIATE_ALWAYS_SIGN + const NTLMSSP_NEGOTIATE_DATAGRAM + const NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY + const NTLMSSP_NEGOTIATE_IDENTIFY + const NTLMSSP_NEGOTIATE_KEY_EXCH + const NTLMSSP_NEGOTIATE_LM_KEY + const NTLMSSP_NEGOTIATE_NTLM + const NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED + const NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED + const NTLMSSP_NEGOTIATE_SEAL + const NTLMSSP_NEGOTIATE_SIGN + const NTLMSSP_NEGOTIATE_TARGET_INFO + const NTLMSSP_NEGOTIATE_UNICODE + const NTLMSSP_NEGOTIATE_VERSION + const NTLMSSP_REQUEST_NON_NT_SESSION_KEY + const NTLMSSP_REQUEST_TARGET + const NTLMSSP_REVISION_W2K3 + const NTLMSSP_TARGET_TYPE_DOMAIN + const NTLMSSP_TARGET_TYPE_SERVER + const NTLM_NEGOTIATE_OEM + const WINDOWS_MAJOR_VERSION_5 + const WINDOWS_MAJOR_VERSION_6 + const WINDOWS_MINOR_VERSION_0 + const WINDOWS_MINOR_VERSION_1 + const WINDOWS_MINOR_VERSION_2 + const WINDOWS_MINOR_VERSION_3 + func MIC(exportedSessionKey []byte, negotiate *NegotiateMessage, ...) []byte + type AVPair struct + Must struct{ ... } + Optional struct{ ... } + func (avPair *AVPair) Read(r io.Reader) + func (avPair *AVPair) Write(w io.Writer) + type AVPairs []AVPair + func ReadAvPairs(data []byte) AVPairs + func (avPairs AVPairs) GetTimeStamp() []byte + func (avPairs AVPairs) Write(w io.Writer) + type AuthenticateMessage struct + Must struct{ ... } + Optional struct{ ... } + func NewAuthenticateMessage(user, pass string) *AuthenticateMessage + func (m *AuthenticateMessage) BaseLen() uint32 + func (m *AuthenticateMessage) CalcChallenge(negotiate *NegotiateMessage, challenge *ChallengeMessage) *AuthenticateMessage + func (m *AuthenticateMessage) Serialize() []byte + func (m *AuthenticateMessage) SetDomainName(length uint16) *AuthenticateMessage + func (m *AuthenticateMessage) SetEncryptedRandomSession(length uint16) *AuthenticateMessage + func (m *AuthenticateMessage) SetLmChallengeResponse(length uint16) *AuthenticateMessage + func (m *AuthenticateMessage) SetNegotiateFlags(flags uint32) *AuthenticateMessage + func (m *AuthenticateMessage) SetNtChallengeResponse(length uint16) *AuthenticateMessage + func (m *AuthenticateMessage) SetUserName(length uint16) *AuthenticateMessage + func (m *AuthenticateMessage) SetWorkstation(length uint16) *AuthenticateMessage + func (m *AuthenticateMessage) Sign(pubKey []byte) *AuthenticateMessage + func (m *AuthenticateMessage) Write(w io.Writer) + type ChallengeMessage struct + Must struct{ ... } + Optional struct{ ... } + func (m *ChallengeMessage) BaseLen() uint32 + func (m *ChallengeMessage) GetField(data []byte, offset uint32, field *Field) []byte + func (m *ChallengeMessage) Load(r *bytes.Reader) + func (m *ChallengeMessage) Read(r io.Reader) + func (m *ChallengeMessage) Serialize() []byte + type Field struct + Len uint16 + MaxLen uint16 + Offset uint32 + func (field *Field) Set(length uint16, offset uint32) + type NTLMv2ClientChallenge struct + Must struct{ ... } + Optional struct{ ... } + func NewNTLMv2ClientChallenge(serverInfo, timestamp []byte) *NTLMv2ClientChallenge + func (c *NTLMv2ClientChallenge) Serialize() []byte + type NTLMv2Response struct + NTLMv2ClientChallenge []byte + Response [16]byte + type NTLMv2Security struct + DecryptRC4 *rc4.Cipher + EncryptRC4 *rc4.Cipher + SeqNum uint32 + SigningKey []byte + VerifyKey []byte + func (n *NTLMv2Security) Serialize(pubKey []byte) []byte + type NVersion struct + NTLMRevisionCurrent uint8 + ProductBuild uint16 + ProductMajorVersion uint8 + ProductMinorVersion uint8 + Reserved [3]byte + func NewNVersion() NVersion + type NegoToken struct + Data []byte + type NegotiateMessage struct + Must struct{ ... } + Optional struct{ ... } + func NewNegotiateMessage() *NegotiateMessage + func (m *NegotiateMessage) Serialize() []byte + func (m *NegotiateMessage) Write(w io.Writer) + type TSCredentials struct + CredType int + Credentials []byte + func (c TSCredentials) Serialize() []byte + type TSCspDataDetail struct + CardName string + ContainerName string + CspName string + KeySpec int + ReaderName string + type TSPasswordCreds struct + DomainName []byte + Password []byte + UserName []byte + func (c TSPasswordCreds) Serialize() []byte + type TSRequest struct + AuthInfo []byte + ClientNonce int + ErrorCode int + NegoTokens []NegoToken + PubKeyAuth []byte + Version int + func NewTsRequest() *TSRequest + func (req *TSRequest) Read(r io.Reader) + func (req *TSRequest) SetAuthInfo(authInfo []byte) *TSRequest + func (req *TSRequest) SetMessages(data []byte) *TSRequest + func (req *TSRequest) SetPubKeyAuth(pubKeyAuth []byte) *TSRequest + func (req *TSRequest) Write(w io.Writer) + type TSSmartCardCreds struct + CspData []TSCspDataDetail + DomainHint string + Pin string + UserHint string