blob: 95977b8a12fd8a85ff3918324c6026bf92b0ebeb (
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/FalconOpsLLC/goexec/internal/client/dcerpc"
"github.com/RedTeamPentesting/adauth"
"github.com/oiweiwei/go-msrpc/msrpc/scmr/svcctl/v2"
"github.com/rs/zerolog"
)
type Module 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
}
|