msrpc

package
v0.0.0-...-ff10477 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RPC_VERSION       = 5
	RPC_VERSION_MINOR = 0

	RPC_TYPE_REQUEST  = 0
	RPC_TYPE_RESPONSE = 2
	RPC_TYPE_BIND     = 11
	RPC_TYPE_BIND_ACK = 12

	RPC_PACKET_FLAG_FIRST = 0x01
	RPC_PACKET_FLAG_LAST  = 0x02

	SRVSVC_VERSION       = 3
	SRVSVC_VERSION_MINOR = 0

	NDR_VERSION = 2

	OP_NET_SHARE_ENUM = 15
)

Variables

View Source
var (
	SRVSVC_UUID = []byte("c84f324b7016d30112785a47bf6ee188")
	NDR_UUID    = []byte("045d888aeb1cc9119fe808002b104860")
)

Functions

This section is empty.

Types

type Bind

type Bind struct {
	CallId uint32
}

func (*Bind) Encode

func (r *Bind) Encode(b []byte)

func (*Bind) Size

func (r *Bind) Size() int

type BindAckDecoder

type BindAckDecoder []byte

func (BindAckDecoder) AssocGroupId

func (c BindAckDecoder) AssocGroupId() uint32

func (BindAckDecoder) AuthLength

func (c BindAckDecoder) AuthLength() uint16

func (BindAckDecoder) CallId

func (c BindAckDecoder) CallId() uint32

func (BindAckDecoder) DataRepresentation

func (c BindAckDecoder) DataRepresentation() []byte

func (BindAckDecoder) FragLength

func (c BindAckDecoder) FragLength() uint16

func (BindAckDecoder) IsInvalid

func (c BindAckDecoder) IsInvalid() bool

func (BindAckDecoder) MaxRecvFrag

func (c BindAckDecoder) MaxRecvFrag() uint16

func (BindAckDecoder) MaxXmitFrag

func (c BindAckDecoder) MaxXmitFrag() uint16

func (BindAckDecoder) PacketFlags

func (c BindAckDecoder) PacketFlags() uint8

func (BindAckDecoder) PacketType

func (c BindAckDecoder) PacketType() uint8

func (BindAckDecoder) Version

func (c BindAckDecoder) Version() uint8

func (BindAckDecoder) VersionMinor

func (c BindAckDecoder) VersionMinor() uint8

type NetShareEnumAllRequest

type NetShareEnumAllRequest struct {
	CallId     uint32
	ServerName string
	Level      uint32
}

func (*NetShareEnumAllRequest) Encode

func (r *NetShareEnumAllRequest) Encode(b []byte)

func (*NetShareEnumAllRequest) Size

func (r *NetShareEnumAllRequest) Size() int

type NetShareEnumAllResponseDecoder

type NetShareEnumAllResponseDecoder []byte

func (NetShareEnumAllResponseDecoder) AllocHint

func (c NetShareEnumAllResponseDecoder) AllocHint() uint32

func (NetShareEnumAllResponseDecoder) AuthLength

func (c NetShareEnumAllResponseDecoder) AuthLength() uint16

func (NetShareEnumAllResponseDecoder) Buffer

func (c NetShareEnumAllResponseDecoder) Buffer() []byte

func (NetShareEnumAllResponseDecoder) CallId

func (NetShareEnumAllResponseDecoder) CancelCount

func (c NetShareEnumAllResponseDecoder) CancelCount() uint8

func (NetShareEnumAllResponseDecoder) ContextId

func (c NetShareEnumAllResponseDecoder) ContextId() uint16

func (NetShareEnumAllResponseDecoder) DataRepresentation

func (c NetShareEnumAllResponseDecoder) DataRepresentation() []byte

func (NetShareEnumAllResponseDecoder) FragLength

func (c NetShareEnumAllResponseDecoder) FragLength() uint16

func (NetShareEnumAllResponseDecoder) IsIncomplete

func (c NetShareEnumAllResponseDecoder) IsIncomplete() bool

func (NetShareEnumAllResponseDecoder) IsInvalid

func (c NetShareEnumAllResponseDecoder) IsInvalid() bool

func (NetShareEnumAllResponseDecoder) PacketFlags

func (c NetShareEnumAllResponseDecoder) PacketFlags() uint8

func (NetShareEnumAllResponseDecoder) PacketType

func (c NetShareEnumAllResponseDecoder) PacketType() uint8

func (NetShareEnumAllResponseDecoder) ShareNameList

func (c NetShareEnumAllResponseDecoder) ShareNameList() []string

func (NetShareEnumAllResponseDecoder) Version

func (NetShareEnumAllResponseDecoder) VersionMinor

func (c NetShareEnumAllResponseDecoder) VersionMinor() uint8

Jump to

Keyboard shortcuts

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