diff options
author | Bryan McNulty <bryanmcnulty@protonmail.com> | 2025-03-12 10:36:38 -0500 |
---|---|---|
committer | Bryan McNulty <bryanmcnulty@protonmail.com> | 2025-03-12 10:36:38 -0500 |
commit | c29e70df5434a82ee43fa59826c67037d07d7b3a (patch) | |
tree | adea65dcb7c7f2d3c461e0b98de444519c03bb42 /cmd/scmr.go | |
parent | 8a2631d9348c81a724e30b0e2913f3e7bb1bb56f (diff) | |
download | goexec-c29e70df5434a82ee43fa59826c67037d07d7b3a.tar.gz goexec-c29e70df5434a82ee43fa59826c67037d07d7b3a.zip |
+Proxy support +Dockerfile
Diffstat (limited to 'cmd/scmr.go')
-rw-r--r-- | cmd/scmr.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/scmr.go b/cmd/scmr.go index 9df9ef1..ee2e9dc 100644 --- a/cmd/scmr.go +++ b/cmd/scmr.go @@ -77,7 +77,7 @@ var ( References: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-scmr/6a8ca926-9477-4dd4-b766-692fab07227e `, - Args: needsRpcTarget("cifs"), + Args: needs(needsTarget("host"), needsRpcTarget("host")), Run: func(cmd *cobra.Command, args []string) { if scmrServiceName == "" { @@ -137,7 +137,7 @@ References: scmrChangeCmd = &cobra.Command{ Use: "change [target]", Short: "Change an existing Windows service to gain execution", - Args: needsRpcTarget("cifs"), + Args: needs(needsTarget("host"), needsRpcTarget("host")), Run: func(cmd *cobra.Command, args []string) { executor := scmrexec.Module{} @@ -185,7 +185,7 @@ References: Long: `Description: TODO `, - Args: needsRpcTarget("cifs"), + Args: needs(needsTarget("host"), needsRpcTarget("host")), Run: func(cmd *cobra.Command, args []string) { dceConfig.DceOptions = append(dceConfig.DceOptions, dcerpc.WithInsecure()) |