Generated from Manticore v1.1.5 • 201 packages. View on pkg.go.dev

structures

import "github.com/TheManticoreProject/Manticore/network/dcerpc/interfaces/338cd001-2244-31f1-aaaa-900038001003/1.0/structures"

Index

type PRPC\_HKEY

PRPC_HKEY is an alias for RPC_HKEY ([MS-RRP]).

type PRPC_HKEY = RPC_HKEY

type REGSAM

REGSAM is a scalar typedef ([MS-RRP]).

type REGSAM ndr.DWORD

type RPC\_HKEY

RPC_HKEY is an RPC context handle ([MS-RRP] 2.2.3): a 4-byte attributes field followed by a 16-byte GUID, 20 bytes total ([MS-RPCE] 2.3.2.2). It is the handle to an open registry key returned by the Open*/BaseRegCreateKey/BaseRegOpenKey methods.

type RPC_HKEY [20]byte

func (RPC_HKEY) IsZero

func (h RPC_HKEY) IsZero() bool

IsZero reports whether the handle is all zeros (for example, after a successful BaseRegCloseKey).

type RPC\_SECURITY\_ATTRIBUTES

RPC_SECURITY_ATTRIBUTES ([MS-RRP]). Generated by tools/idlgen; verify pointer/array tags.

type RPC_SECURITY_ATTRIBUTES struct {
    NLength               ndr.DWORD
    RpcSecurityDescriptor RPC_SECURITY_DESCRIPTOR
    BInheritHandle        bool
}

type RPC\_SECURITY\_DESCRIPTOR

RPC_SECURITY_DESCRIPTOR ([MS-RRP] 2.2.8) carries a self-relative security descriptor for the key-security opnums (BaseRegGetKeySecurity / BaseRegSetKeySecurity).

LpSecurityDescriptor is a unique pointer to a conformant-varying byte array whose maximum_count is CbInSecurityDescriptor (the buffer capacity) and whose actual_count is CbOutSecurityDescriptor (the number of valid bytes). The two are independent: the caller sets both fields explicitly, and only CbOutSecurityDescriptor bytes are transmitted.

  • Set: point LpSecurityDescriptor at the marshalled descriptor and set both CbInSecurityDescriptor and CbOutSecurityDescriptor to its length.
  • Get: supply a buffer of capacity CbInSecurityDescriptor with CbOutSecurityDescriptor = 0 (no valid bytes yet); the server fills the [out] descriptor.
type RPC_SECURITY_DESCRIPTOR struct {
    LpSecurityDescriptor    []uint8 `ndr:"unique,size_is=CbInSecurityDescriptor,varying,length_is=CbOutSecurityDescriptor"`
    CbInSecurityDescriptor  ndr.DWORD
    CbOutSecurityDescriptor ndr.DWORD
}

type RRP\_UNICODE\_STRING

RRP_UNICODE_STRING is an alias for RPC_UNICODE_STRING ([MS-RRP]).

type RRP_UNICODE_STRING = dtyp.RPC_UNICODE_STRING

type RVALENT

RVALENT ([MS-RRP]). Generated by tools/idlgen; verify pointer/array tags.

type RVALENT struct {
    Ve_valuename *dtyp.RPC_UNICODE_STRING `ndr:"unique"`
    Ve_valuelen  ndr.DWORD
    Ve_valueptr  *ndr.DWORD `ndr:"unique"`
    Ve_type      ndr.DWORD
}

type SECURITY\_INFORMATION

SECURITY_INFORMATION is a scalar typedef ([MS-RRP]).

type SECURITY_INFORMATION ndr.DWORD