mirror of
https://github.com/jfjallid/go-smb
synced 2026-06-08 15:02:50 +00:00
- dcerpc/epm: add typed floor/tower accessor methods (GetTCPPorts,
GetUDPPorts, GetIPAddresses, GetUUIDs, and per-floor helpers) with a
UUIDFloor type returning UUID string, major, and minor versions; update
GetTCPPort to delegate to GetTCPPorts; add comprehensive tests including
IP address assertion from real captured wire data
- dcerpc: add DCEStyleInitiator interface and call EnableDCEStyle() in
BindAuth so GSS_C_DCE_STYLE is only set on the DCERPC TCP path, not SMB
- dcerpc: generate a random authContextId per bind and propagate it to
every security trailer written by sealRequestPDU
- msdtyp: fix RPC_UNICODE_STRING MaxCount convention in WriteRPCUnicodeStrArray
to use MaxCount = ActualCount+1 for non-null-terminated strings per
MS-DTYP 2.3.10 (MaxLength = Length+2)
- smb/encoder: use fmt.Sprintf format verbs instead of string concatenation
in error messages