rpcinterface_f5cc59b44264101a8c5908002b2f8426_1_1
import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/f5cc59b4-4264-101a-8c59-08002b2f8426/1.1"
Package rpcinterface_f5cc59b44264101a8c5908002b2f8426_1_1 is the descriptor for the frsrpc RPC interface, abstract syntax f5cc59b4-4264-101a-8c59-08002b2f8426 version 1.1 ([MS-FRS1]).
This package holds only the interface-level descriptor (abstract syntax, transport endpoint, opnums, opnum<->name maps, and status constants). The NDR wire types live in windows/protocols/ms-frs1 and the method stubs in functions; both depend on this package, never the reverse.
Index
Constants
Opnums for the on-the-wire methods. Opnums 4, 5, 6, 7, 8, 9, 10 are “not used on the wire” and are omitted.
const (
OpnumFrsRpcSendCommPkt uint16 = 0
OpnumFrsRpcVerifyPromotionParent uint16 = 1
OpnumFrsRpcStartPromotionParent uint16 = 2
OpnumFrsNOP uint16 = 3
)
Status codes returned by this interface. FRS methods return a Win32 error code ([MS-ERREF] 2.2): 0 on success, and all nonzero values are equivalent failures unless otherwise specified ([MS-FRS1] 3.3.4). FrsRpcVerifyPromotionParent always returns ERROR_CALL_NOT_IMPLEMENTED ([MS-FRS1] 3.3.4.2).
const (
StatusSuccess uint32 = 0x00000000 // ERROR_SUCCESS
ErrorAccessDenied uint32 = 0x00000005 // ERROR_ACCESS_DENIED
ErrorCallNotImplemented uint32 = 0x00000078 // ERROR_CALL_NOT_IMPLEMENTED
)
PipeName is empty: FRS has no named-pipe endpoint. Both FRS interfaces use only the ncacn_ip_tcp protocol sequence over a dynamic endpoint assigned by the RPC endpoint mapper (RPCSS, port 135), optionally pinned to a static TCP port ([MS-FRS1] 2.1).
const PipeName = ``
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{
OpnumFrsRpcSendCommPkt: "FrsRpcSendCommPkt",
OpnumFrsRpcVerifyPromotionParent: "FrsRpcVerifyPromotionParent",
OpnumFrsRpcStartPromotionParent: "FrsRpcStartPromotionParent",
OpnumFrsNOP: "FrsNOP",
}
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 frsrpc abstract syntax identifier: f5cc59b4-4264-101a-8c59-08002b2f8426, version 1.1.