dce

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClientName = "DCE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Options
	// contains filtered or unexported fields
}

func (*Client) Close

func (c *Client) Close(ctx context.Context) (err error)

func (*Client) Connect

func (c *Client) Connect(ctx context.Context) (err error)

func (*Client) Dce

func (c *Client) Dce() (dce dcerpc.Conn)

func (*Client) Logger

func (c *Client) Logger(ctx context.Context) (log zerolog.Logger)

func (*Client) Parse

func (c *Client) Parse(ctx context.Context) (err error)

func (*Client) Reconnect

func (c *Client) Reconnect(ctx context.Context, opts ...dcerpc.Option) (err error)

func (*Client) String

func (c *Client) String() string

type Options

type Options struct {
	goexec.ClientOptions
	goexec.AuthOptions

	// NoSign disables packet signing by omitting dcerpc.WithSign()
	NoSign bool `json:"no_sign" yaml:"no_sign"`

	// NoSeal disables packet stub encryption by omitting dcerpc.WithSeal()
	NoSeal bool `json:"no_seal" yaml:"no_seal"`

	// NoLog disables logging by omitting dcerpc.WithLogger(...)
	NoLog bool `json:"no_log" yaml:"no_log"`

	// UseEpm enables DCE endpoint mapper communications
	UseEpm bool `json:"use_epm" yaml:"use_epm"`

	// NoEpm disables DCE endpoint mapper communications
	NoEpm bool `json:"no_epm" yaml:"no_epm"` // Deprecated in favor of UseEpm

	// Endpoint stores the explicit DCE string binding to use
	Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`

	// Filter stores the filter for returned endpoints from an endpoint mapper
	Filter string `json:"filter,omitempty" yaml:"filter,omitempty"`

	// Smb enables SMB transport for DCE/RPC
	Smb bool `json:"use_smb" yaml:"use_smb"`

	DcerpcOptions []dcerpc.Option
	EpmOptions    []dcerpc.Option
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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