smbmultiproto

package
v0.0.0-...-c8c792b Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: MIT Imports: 2 Imported by: 3

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.

https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/b99264a6-7520-4563-adaf-fc4fdf7d5a1b

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.

func (Request) Valid

func (r Request) Valid() bool

Valid returns true if r is a valid SMB multi-protocol request.

Jump to

Keyboard shortcuts

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