aboutsummaryrefslogtreecommitdiff
path: root/internal/exec/wmi/module.go
diff options
context:
space:
mode:
authorBryan McNulty <bryanmcnulty@protonmail.com>2025-04-16 12:11:58 -0500
committerBryan McNulty <bryanmcnulty@protonmail.com>2025-04-16 12:11:58 -0500
commit55eb4275fb760ac7a3ce1444f5ae0ded9e2ff91c (patch)
treeedf4ec3b814fb10ccdbf759a62819a865d3e8141 /internal/exec/wmi/module.go
parenta827b67d47cba7b02ea9599fe6bb88ffb3a6967d (diff)
downloadgoexec-55eb4275fb760ac7a3ce1444f5ae0ded9e2ff91c.tar.gz
goexec-55eb4275fb760ac7a3ce1444f5ae0ded9e2ff91c.zip
rewrote everything lol
Diffstat (limited to 'internal/exec/wmi/module.go')
-rw-r--r--internal/exec/wmi/module.go33
1 files changed, 0 insertions, 33 deletions
diff --git a/internal/exec/wmi/module.go b/internal/exec/wmi/module.go
deleted file mode 100644
index 0e83aa8..0000000
--- a/internal/exec/wmi/module.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package wmiexec
-
-import (
- "github.com/RedTeamPentesting/adauth"
- "github.com/oiweiwei/go-msrpc/dcerpc"
- "github.com/oiweiwei/go-msrpc/msrpc/dcom/wmi/iwbemservices/v0"
- "github.com/rs/zerolog"
-)
-
-type Module struct {
- creds *adauth.Credential
- target *adauth.Target
-
- log zerolog.Logger
- dce dcerpc.Conn
- sc iwbemservices.ServicesClient
-}
-
-type MethodCallConfig struct {
- Class string
- Method string
- Arguments map[string]any
-}
-
-type MethodProcessConfig struct {
- Command string
- WorkingDirectory string
-}
-
-const (
- MethodCall = "call"
- MethodProcess = "process"
-)