Versions in this module Expand all Collapse all v1 v1.1.1 Dec 20, 2024 v1.1.0 Dec 13, 2024 v1.0.5 Oct 29, 2024 v1.0.4 Oct 16, 2024 v1.0.3 Sep 13, 2024 v1.0.2 Jul 18, 2024 v1.0.1 May 28, 2024 Changes in this version type DualStringArray + func (o *DualStringArray) EndpointsByProtocol(protocol string) []dcerpc.Option + func (o *DualStringArray) EndpointsByTowerID(tower int) []dcerpc.Option + func (o *DualStringArray) GetProtocolSequences() []uint16 v1.0.0 Apr 30, 2024 v0 v0.1.0 Apr 30, 2024 Changes in this version + var GoPackage = "dcom" + var MaxActpropLimit = 10 + var MinActpropLimit = 1 + func IsSuperclass(opts any) bool + func Superclass(cc dcerpc.Conn) dcerpc.Option + func WithIPID(ipid *IPID) dcerpc.ObjectUUIDOption + type ActivationContextInfoData struct + ClientOK int32 + IfdClientContext *InterfacePointer + IfdPrototypeContext *InterfacePointer + func (o *ActivationContextInfoData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ActivationContextInfoData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type CID dtyp.GUID + func (o *CID) GUID() *dtyp.GUID + func (o *CID) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *CID) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type COMServerInfo struct + Name string + func (o *COMServerInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *COMServerInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type COMVersion struct + MajorVersion uint16 + MinorVersion uint16 + func (o *COMVersion) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *COMVersion) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ClassID dtyp.GUID + func (o *ClassID) GUID() *dtyp.GUID + func (o *ClassID) MarshalJSON() ([]byte, error) + func (o *ClassID) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ClassID) String() string + func (o *ClassID) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type CustomHeader struct + ClassIDs []*ClassID + ClassInfoClassID *ClassID + DestinationContext uint32 + HeaderSize uint32 + InterfacesCount uint32 + Sizes []uint32 + TotalSize uint32 + func (o *CustomHeader) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *CustomHeader) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type CustomRemoteReplySCMInfo struct + AuthnHint uint32 + IPIDRemoteUnknown *IPID + OXID uint64 + OXIDBindings *DualStringArray + ServerVersion *COMVersion + func (o *CustomRemoteReplySCMInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *CustomRemoteReplySCMInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type CustomRemoteRequestSCMInfo struct + ClientImpLevel uint32 + RequestedProtocolSequences []uint16 + RequestedProtocolSequencesCount uint16 + func (o *CustomRemoteRequestSCMInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *CustomRemoteRequestSCMInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DataElement struct + Data []byte + DataID *dtyp.GUID + Length uint32 + RoundedLength uint32 + func (o *DataElement) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DataElement) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type DualStringArray struct + EntriesLength uint16 + SecurityOffset uint16 + StringArray []uint16 + func (o *DualStringArray) Endpoints() []dcerpc.Option + func (o *DualStringArray) GetSecurityBindings() []*SecurityBinding + func (o *DualStringArray) GetStringBindings() []*StringBinding + func (o *DualStringArray) MarshalJSON() ([]byte, error) + func (o *DualStringArray) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *DualStringArray) NDRSizeInfo() []uint64 + func (o *DualStringArray) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ErrorObjectData struct + Description string + HelpContext uint32 + HelpFile string + IID *IID + Source string + Version uint32 + func (o *ErrorObjectData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ErrorObjectData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type IID dtyp.GUID + func (o *IID) GUID() *dtyp.GUID + func (o *IID) MarshalJSON() ([]byte, error) + func (o *IID) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *IID) String() string + func (o *IID) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type IPID dtyp.GUID + func HasIPID(opts any) (*IPID, bool) + func (o *IPID) GUID() *dtyp.GUID + func (o *IPID) MarshalJSON() ([]byte, error) + func (o *IPID) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *IPID) UUID() *uuid.UUID + func (o *IPID) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type InstanceInfoData struct + FileName string + Mode uint32 + ROT *InterfacePointer + Storage *InterfacePointer + func (o *InstanceInfoData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *InstanceInfoData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type InstantiationInfoData struct + ActivateFlags uint32 + ClassContext uint32 + ClassID *ClassID + ClientCOMVersion *COMVersion + IID []*IID + IIDCount uint32 + InstanceFlag uint32 + IsSurrogate int32 + ThisSize uint32 + func (o *InstantiationInfoData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *InstantiationInfoData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type InterfacePointer struct + Data []byte + DataCount uint32 + func (o *InterfacePointer) GetCustomObjectReference() *ObjectReferenceCustom + func (o *InterfacePointer) GetObjectReference() *ObjectReference + func (o *InterfacePointer) GetStandardObjectReference() *ObjectReferenceStandard + func (o *InterfacePointer) IPID() *IPID + func (o *InterfacePointer) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *InterfacePointer) NDRSizeInfo() []uint64 + func (o *InterfacePointer) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type LocationInfoData struct + ApartmentID uint32 + ContextID uint32 + MachineName string + ProcessID uint32 + func (o *LocationInfoData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *LocationInfoData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ORPCExtent struct + Data []byte + ID *dtyp.GUID + Size uint32 + func (o *ORPCExtent) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ORPCExtent) NDRSizeInfo() []uint64 + func (o *ORPCExtent) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ORPCExtentArray struct + Extent []*ORPCExtent + Size uint32 + func (o *ORPCExtentArray) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ORPCExtentArray) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ORPCThat struct + Extensions *ORPCExtentArray + Flags uint32 + func (o *ORPCThat) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ORPCThat) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ORPCThis struct + CID *CID + Extensions *ORPCExtentArray + Flags uint32 + Version *COMVersion + func (o *ORPCThis) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ORPCThis) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReference struct + Flags ObjectReferenceType + IID *IID + ObjectReference *ObjectReference_ObjectReference + Signature []byte + func (o *ObjectReference) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReference) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReferenceCustom struct + ClassID *ClassID + ExtensionLength uint32 + ObjectData []byte + func (o *ObjectReferenceCustom) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReferenceCustom) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReferenceExtended struct + ElementArray []*DataElement + Elements uint32 + ResolverAddr *DualStringArray + Signature1 []byte + Signature2 []byte + Std *StdObjectReference + func (o *ObjectReferenceExtended) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReferenceExtended) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReferenceHandler struct + ClassID *ClassID + ResolverAddr *DualStringArray + Std *StdObjectReference + func (o *ObjectReferenceHandler) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReferenceHandler) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReferenceStandard struct + ResolverAddr *DualStringArray + Std *StdObjectReference + func (o *ObjectReferenceStandard) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReferenceStandard) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReferenceType uint16 + var ObjectReferenceTypeCustom ObjectReferenceType = 4 + var ObjectReferenceTypeExtended ObjectReferenceType = 8 + var ObjectReferenceTypeHandler ObjectReferenceType = 2 + var ObjectReferenceTypeStandard ObjectReferenceType = 1 + func (o ObjectReferenceType) String() string + type ObjectReference_Custom struct + Custom *ObjectReferenceCustom + func (o *ObjectReference_Custom) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReference_Custom) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReference_DefaultObjectReference struct + func (o *ObjectReference_DefaultObjectReference) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReference_DefaultObjectReference) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReference_Extended struct + Extended *ObjectReferenceExtended + func (o *ObjectReference_Extended) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReference_Extended) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReference_Handler struct + Handler *ObjectReferenceHandler + func (o *ObjectReference_Handler) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReference_Handler) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type ObjectReference_ObjectReference struct + Value is_ObjectReference_ObjectReference + func (o *ObjectReference_ObjectReference) GetValue() any + func (o *ObjectReference_ObjectReference) MarshalUnionNDR(ctx context.Context, w ndr.Writer, sw uint32) error + func (o *ObjectReference_ObjectReference) NDRSwitchValue(sw uint32) uint32 + func (o *ObjectReference_ObjectReference) UnmarshalUnionNDR(ctx context.Context, w ndr.Reader, sw uint32) error + type ObjectReference_Standard struct + Standard *ObjectReferenceStandard + func (o *ObjectReference_Standard) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *ObjectReference_Standard) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type PropertiesOutInfo struct + HResults []int32 + IIDs []*IID + InterfaceData []*InterfacePointer + InterfacesCount uint32 + func (o *PropertiesOutInfo) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *PropertiesOutInfo) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RemoteInterfaceReference struct + IPID *IPID + PrivateReferencesCount uint32 + PublicReferencesCount uint32 + func (o *RemoteInterfaceReference) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RemoteInterfaceReference) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RemoteQueryInterfaceResult struct + HResult int32 + Std *StdObjectReference + func (o *RemoteQueryInterfaceResult) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RemoteQueryInterfaceResult) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RemoteUnknown InterfacePointer + func (o *RemoteUnknown) InterfacePointer() *InterfacePointer + func (o *RemoteUnknown) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RemoteUnknown) NDRSizeInfo() []uint64 + func (o *RemoteUnknown) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type RemoteUnknown2 InterfacePointer + func (o *RemoteUnknown2) InterfacePointer() *InterfacePointer + func (o *RemoteUnknown2) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *RemoteUnknown2) NDRSizeInfo() []uint64 + func (o *RemoteUnknown2) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type SCMReplyInfoData struct + RemoteReply *CustomRemoteReplySCMInfo + func (o *SCMReplyInfoData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *SCMReplyInfoData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type SCMRequestInfoData struct + RemoteRequest *CustomRemoteRequestSCMInfo + func (o *SCMRequestInfoData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *SCMRequestInfoData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type SPDFlags uint16 + var SPDFlagsUseConsoleSession SPDFlags = 1 + var SPDFlagsUseDefaultAuthnLevel SPDFlags = 2 + func (o SPDFlags) String() string + type SecurityBinding struct + AuthnType uint16 + AuthzService uint16 + PrincipalName string + type SecurityInfoData struct + AuthnFlags uint32 + ServerInfo *COMServerInfo + func (o *SecurityInfoData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *SecurityInfoData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type SpecialPropertiesData struct + ClientImpersonating int32 + DefaultAuthnLevel uint32 + Flags uint32 + OrigClassContext uint32 + Partition *dtyp.GUID + PartitionFlags uint32 + PartitionIDPresent int32 + RemoteThisSessionID int32 + SessionID uint32 + func (o *SpecialPropertiesData) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *SpecialPropertiesData) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type SpecialPropertiesDataAlternate struct + ClientImpersonating int32 + DefaultAuthnLevel uint32 + Flags uint32 + OrigClassContext uint32 + Partition *dtyp.GUID + PartitionFlags uint32 + PartitionIDPresent int32 + RemoteThisSessionID int32 + SessionID uint32 + func (o *SpecialPropertiesDataAlternate) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *SpecialPropertiesDataAlternate) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type StdObjectReference struct + Flags uint32 + IPID *IPID + OID uint64 + OXID uint64 + PublicReferencesCount uint32 + func (o *StdObjectReference) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *StdObjectReference) UnmarshalNDR(ctx context.Context, w ndr.Reader) error + type StringBinding struct + NetworkAddr string + TowerID uint16 + func (o *StringBinding) String() string + type Unknown InterfacePointer + func (o *Unknown) InterfacePointer() *InterfacePointer + func (o *Unknown) MarshalNDR(ctx context.Context, w ndr.Writer) error + func (o *Unknown) NDRSizeInfo() []uint64 + func (o *Unknown) UnmarshalNDR(ctx context.Context, w ndr.Reader) error