From 55eb4275fb760ac7a3ce1444f5ae0ded9e2ff91c Mon Sep 17 00:00:00 2001 From: Bryan McNulty Date: Wed, 16 Apr 2025 12:11:58 -0500 Subject: rewrote everything lol --- internal/exec/scmr/service.go | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 internal/exec/scmr/service.go (limited to 'internal/exec/scmr/service.go') diff --git a/internal/exec/scmr/service.go b/internal/exec/scmr/service.go deleted file mode 100644 index 49c7506..0000000 --- a/internal/exec/scmr/service.go +++ /dev/null @@ -1,25 +0,0 @@ -package scmrexec - -import ( - "context" - "github.com/FalconOpsLLC/goexec/internal/windows" - "github.com/oiweiwei/go-msrpc/msrpc/scmr/svcctl/v2" -) - -const ( - ServiceDeleteAccess uint32 = windows.SERVICE_DELETE - ServiceModifyAccess uint32 = windows.SERVICE_QUERY_CONFIG | windows.SERVICE_CHANGE_CONFIG | windows.SERVICE_STOP | windows.SERVICE_START | windows.SERVICE_DELETE - ServiceCreateAccess uint32 = windows.SC_MANAGER_CREATE_SERVICE | windows.SERVICE_START | windows.SERVICE_STOP | windows.SERVICE_DELETE - ServiceAllAccess uint32 = ServiceCreateAccess | ServiceModifyAccess -) - -type remoteService struct { - name string - handle *svcctl.Handle - originalConfig *svcctl.QueryServiceConfigW - originalState *svcctl.ServiceStatus -} - -func (mod *Module) parseServiceDependencies(ctx context.Context) (err error) { - return nil // TODO -} -- cgit v1.2.3