From c29e70df5434a82ee43fa59826c67037d07d7b3a Mon Sep 17 00:00:00 2001 From: Bryan McNulty Date: Wed, 12 Mar 2025 10:36:38 -0500 Subject: +Proxy support +Dockerfile --- cmd/scmr.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd/scmr.go') 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()) -- cgit v1.2.3