blob: 1c855fbb9340688185f57a624ae4d5ca75a6e850 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package scmrexec
import (
"github.com/bryanmcnulty/adauth"
"github.com/oiweiwei/go-msrpc/msrpc/scmr/svcctl/v2"
"github.com/rs/zerolog"
"github.com/FalconOpsLLC/goexec/pkg/client/dcerpc"
)
type Executor struct {
creds *adauth.Credential
target *adauth.Target
hostname string
log zerolog.Logger
dce *dcerpc.DCEClient
ctl svcctl.SvcctlClient
}
type MethodCreateConfig struct {
NoDelete bool
ServiceName string
DisplayName string
ServiceType uint32
StartType uint32
}
type MethodModifyConfig struct {
NoStart bool
ServiceName string
}
|