enum

package
v0.0.0-...-4cb7d83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NTLMSSP_AV_EOL              = 0x00
	NTLMSSP_AV_HOSTNAME         = 0x01
	NTLMSSP_AV_DOMAINNAME       = 0x02
	NTLMSSP_AV_DNS_HOSTNAME     = 0x03
	NTLMSSP_AV_DNS_DOMAINNAME   = 0x04
	NTLMSSP_AV_DNS_TREENAME     = 0x05
	NTLMSSP_AV_FLAGS            = 0x06
	NTLMSSP_AV_TIME             = 0x07
	NTLMSSP_AV_RESTRICTIONS     = 0x08
	NTLMSSP_AV_TARGET_NAME      = 0x09
	NTLMSSP_AV_CHANNEL_BINDINGS = 0x0a
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AVPairs

type AVPairs struct {
	Attribute     string
	AttrubuteType uint16
	AttributePos  int
	ValueRaw      []uint16
	Value         string
	ValueLen      int
}

type Workstaion

type Workstaion struct {
	Signature              []byte // 8 Bytes 32
	Messsagetype           []byte // 4 Bytes 16
	TargetNameFields       []byte // 8 bytes 32
	TargetNameFieldsLength int
	TargetNameFieldsMaxLen int
	TargetNameFieldsOffset int
	TargetNameFieldsName   string
	NegotiateFlags         []byte // 4 bytes 16
	ServerChallenge        []byte // 8 bytes 32
	Reserve                []byte // 8 bytes 32
	TargetInfoFields       []byte // 8 bytes 32
	TargetInfoLength       int    // Used to dictate the payload length
	TargetInfoMaxlen       int
	TargetInfoOffset       int
	Version                []byte // 8 Bytes 32 Windows OS would be here
	Payload                []byte // Unknow Number of bytes
	PayloadUint16          []uint16
	NBCompName             AVPairs
	NBDomainName           AVPairs
	DNSCompName            AVPairs
	DNSDomainName          AVPairs
	SMBSigning             bool
}

func EnumerateWorkstation

func EnumerateWorkstation(s *smb.Session) Workstaion

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL