Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChallenge ¶
Types ¶
type MessageType ¶
type MessageType uint32
const ( NtLmNegotiate MessageType = iota + 1 NtLmChallenge NtLmAuthenticate MessageUndefined )
func GetMessageType ¶
func GetMessageType(pd []byte) MessageType
type NTLMMessage2 ¶
type NTLMMessage2 struct { NTLMMessageHeader Target OffsetData Flags uint32 Challenge []byte `bin:"len:8"` }
type NTLMMessage3 ¶
type NTLMMessage3 struct { NTLMMessageHeader LMHash OffsetData NTLMHash OffsetData TargetName OffsetData UserName OffsetData WorkStationName OffsetData SessionKey OffsetData Flags uint32 OSVersion []byte `bin:"len:8"` }
type NTLMMessageHeader ¶
type NTLMResult ¶
type NTLMResult struct {
User, WorkStation, Target string
Challenge []byte
Hash []byte
MoreHash []byte
GatheredFrom NTLMSource
}
func NewNTLMResult ¶
func NewNTLMResult(pd []byte, challenge []byte) (*NTLMResult, error)
func (NTLMResult) String ¶
func (nr NTLMResult) String() string
type OffsetData ¶
type Producer ¶
type Producer struct {
Results chan *NTLMResult
}
Click to show internal directories.
Click to hide internal directories.