Documentation ¶
Overview ¶
Package smbmultiproto supports multi-protocol negotiation of SMB 2 dialects over SMB 1 connections. It implements the bare minimum of SMB 1 features necessary to allow an SMB 2 server to accept such requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request []byte
Request interprets a slice of bytes as an SMB multi-protocol request packet compatible with SMB version 1.
func (Request) Dialects ¶
func (r Request) Dialects() smbdialect.List
Dialects returns the SMB2 dialects contained in the request.
It returns nil if the request is invalid or does not contain an SMB multi-protocol negotiate command.
Click to show internal directories.
Click to hide internal directories.