aboutsummaryrefslogtreecommitdiff
path: root/cmd/scmr.go
diff options
context:
space:
mode:
authorBryan McNulty <bryanmcnulty@protonmail.com>2025-04-18 04:07:54 -0500
committerBryan McNulty <bryanmcnulty@protonmail.com>2025-04-18 04:07:54 -0500
commite16fcfc6ce0bdffdac4a73b5922a792972348a80 (patch)
tree0c8f01493e18395306eb414d2889847f55894fd2 /cmd/scmr.go
parent5d2734e51b62f7048dc8be25cca05fb71da4f521 (diff)
downloadgoexec-e16fcfc6ce0bdffdac4a73b5922a792972348a80.tar.gz
goexec-e16fcfc6ce0bdffdac4a73b5922a792972348a80.zip
Some CLI tweaks
Diffstat (limited to 'cmd/scmr.go')
-rw-r--r--cmd/scmr.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/cmd/scmr.go b/cmd/scmr.go
index 08e23d7..b67b2a6 100644
--- a/cmd/scmr.go
+++ b/cmd/scmr.go
@@ -64,20 +64,21 @@ var (
scmrDelete scmrexec.ScmrDelete
scmrCmd = &cobra.Command{
- Use: "scmr",
- Short: "Establish execution via SCMR",
- Args: cobra.NoArgs,
+ Use: "scmr",
+ Short: "Execute with Service Control Manager Remote (MS-SCMR)",
+ GroupID: "module",
+ Args: cobra.NoArgs,
}
scmrCreateCmd = &cobra.Command{
Use: "create [target]",
- Short: "Create & run a new Windows service to gain execution",
+ Short: "Spawn a remote process by creating & running a Windows service",
Long: `Description:
- The create method calls RCreateServiceW to create a new Windows service with
- the provided executable & arguments as the lpBinaryPathName
+ The create method calls RCreateServiceW to create a new Windows service on the
+ remote target with the provided executable & arguments as the lpBinaryPathName
References:
- https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-scmr/6a8ca926-9477-4dd4-b766-692fab07227e
+ - https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-scmr/6a8ca926-9477-4dd4-b766-692fab07227e
`,
Args: argsRpcClient("cifs"),