package ntlm

Import Path
	github.com/hirochachacha/go-smb2/internal/ntlm (on go.dev)

Dependency Relation
	imports 13 packages, and imported by one package

Involved Source Files client.go ntlm.go server.go session.go
Package-Level Type Names (total 4)
/* sort by: | */
NTLM v2 client // e.g "WORKGROUP", "MicrosoftAccount" Hash []byte Password string // SPN ::= "service/hostname[:port]"; e.g "cifs/remotehost:1020" User string // e.g "localhost", "HOME-PC" (*Client) Authenticate(cmsg []byte) (amsg []byte, err error) (*Client) Negotiate() (nmsg []byte, err error) (*Client) Session() *Session
DnsComputerName string DnsDomainName string DnsTreeName string NbComputerName string NbDomainName string func (*Session).InfoMap() *InfoMap
NTLM v2 server (*Server) AddAccount(user, password string) (*Server) Authenticate(amsg []byte) (err error) (*Server) Challenge(nmsg []byte) (cmsg []byte, err error) (*Server) Session() *Session func NewServer(targetName string) *Server
(*Session) CheckSum(sum, plaintext []byte, seqNum uint32) (bool, uint32) TODO export to somewhere (*Session) Overhead() int (*Session) Seal(dst, plaintext []byte, seqNum uint32) ([]byte, uint32) (*Session) SessionKey() []byte (*Session) Sum(plaintext []byte, seqNum uint32) ([]byte, uint32) (*Session) Unseal(dst, ciphertext []byte, seqNum uint32) ([]byte, uint32, error) (*Session) User() string func (*Client).Session() *Session func (*Server).Session() *Session
Package-Level Functions (only one)
func NewServer(targetName string) *Server
Package-Level Constants (total 44)
const MsvAvDnsTreeName = 5
const MsvAvEOL = 0
const MsvAvFlags = 6
const MsvAvSingleHost = 8
const MsvAvTargetName = 9
const MsvAvTimestamp = 7
const NtLmAuthenticate = 3
const NtLmChallenge = 2
const NtLmNegotiate = 1
const NTLMSSP_ANONYMOUS = 2048
const NTLMSSP_NEGOTIATE_128 = 536870912
const NTLMSSP_NEGOTIATE_56 = 2147483648
const NTLMSSP_NEGOTIATE_KEY_EXCH = 1073741824
const NTLMSSP_NEGOTIATE_VERSION = 33554432