From 6dcae18a99ba7f7ca44c246d0e72b4d9410eb60c Mon Sep 17 00:00:00 2001 From: Bryan McNulty Date: Sat, 1 Mar 2025 20:50:04 -0600 Subject: Added tsch module --- pkg/client/dcerpc/dcerpc.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/client') diff --git a/pkg/client/dcerpc/dcerpc.go b/pkg/client/dcerpc/dcerpc.go index a22bff7..b2e53bd 100644 --- a/pkg/client/dcerpc/dcerpc.go +++ b/pkg/client/dcerpc/dcerpc.go @@ -65,6 +65,10 @@ func (client *DCEClient) OpenSvcctl(ctx context.Context) (ctl svcctl.SvcctlClien return } +func (client *DCEClient) DCE() dcerpc.Conn { + return client.conn +} + func (client *DCEClient) Connect(ctx context.Context, creds *adauth.Credential, target *adauth.Target, dialOpts ...dcerpc.Option) (err error) { if creds != nil && target != nil { authCtx := gssapi.NewSecurityContext(ctx) -- cgit v1.2.3