Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

rpcinterface_1a927394352e4553ae3f7cf4aafca620_1_0

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/1a927394-352e-4553-ae3f-7cf4aafca620/1.0"

Package rpcinterface_1a927394352e4553ae3f7cf4aafca620_1_0 is the descriptor for the WdsRpcInterface RPC interface, abstract syntax 1a927394-352e-4553-ae3f-7cf4aafca620 version 1.0 ([MS-WDSC]).

Generated by tools/idlgen (descriptor phase) from the IDL, then reviewed: the PipeName, the status-code table, and doc comments are not derivable from the IDL and must be confirmed by hand (see the TODO markers).

Index

Constants

Status codes returned by this interface. WdsRpcMessage returns ERROR_SUCCESS on success or a non-zero Win32 error code on failure ([MS-WDSC] 3.1.4.1); the spec does not enumerate a fixed set, so the common Win32 codes ([MS-ERREF] 2.2) are provided.

const (
    StatusSuccess uint32 = 0x00000000 // ERROR_SUCCESS

    ErrorAccessDenied     uint32 = 0x00000005 // ERROR_ACCESS_DENIED (5)
    ErrorInvalidData      uint32 = 0x0000000d // ERROR_INVALID_DATA (13)
    ErrorNotSupported     uint32 = 0x00000032 // ERROR_NOT_SUPPORTED (50)
    ErrorInvalidParameter uint32 = 0x00000057 // ERROR_INVALID_PARAMETER (87)
)

Opnums for the on-the-wire methods.

const (
    OpnumWdsRpcMessage uint16 = 0
)

PipeName is retained for descriptor uniformity, but WdsRpcInterface is NOT a named-pipe interface: per [MS-WDSC] 2.1 the protocol is carried over ncacn_ip_tcp on a dynamic endpoint that the client resolves through the endpoint mapper (TCP/135), and authenticated clients MUST use RPC_C_AUTHN_LEVEL_PKT_PRIVACY. This constant is not the standard binding for this interface.

const PipeName = `\WdsRpcInterface`

Variables

NameToOpnum is the reverse of OpnumToName, built at init so the two never drift.

var NameToOpnum = func() map[string]uint16 {
    m := make(map[string]uint16, len(OpnumToName))
    for op, name := range OpnumToName {
        m[name] = op
    }
    return m
}()

OpnumToName maps each on-the-wire opnum to its method name; the single source of truth.

var OpnumToName = map[uint16]string{
    OpnumWdsRpcMessage: "WdsRpcMessage",
}

func StatusString

func StatusString(status uint32) string

StatusString returns a mnemonic for the documented status codes, otherwise the hex value.

func SyntaxID

func SyntaxID() syntax.SyntaxID

SyntaxID returns the WdsRpcInterface abstract syntax identifier: 1a927394-352e-4553-ae3f-7cf4aafca620, version 1.0.

Subpackages