From 1168c8657117cb72426e9e2bfc68bf8ae9575bb1 Mon Sep 17 00:00:00 2001 From: Bryan McNulty Date: Sun, 20 Apr 2025 18:23:36 -0500 Subject: Improve smb.OutputFileFetcher; introduce stage input --- cmd/args.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cmd/args.go') diff --git a/cmd/args.go b/cmd/args.go index 8af8598..109a528 100644 --- a/cmd/args.go +++ b/cmd/args.go @@ -29,8 +29,13 @@ func registerNetworkFlags(fs *pflag.FlagSet) { //cmd.MarkFlagsMutuallyExclusive("no-epm", "epm-filter") } +func registerStageFlags(fs *pflag.FlagSet) { + fs.StringVarP(&stageFilePath, "stage", "E", "", "File to stage and execute") + //fs.StringVarP(&stageArgs ...) +} + func registerExecutionFlags(fs *pflag.FlagSet) { - fs.StringVarP(&exec.Input.Executable, "executable", "e", "", "Windows executable to invoke") + fs.StringVarP(&exec.Input.Executable, "exec", "e", "", "Remote Windows executable to invoke") fs.StringVarP(&exec.Input.Arguments, "args", "a", "", "Process command line arguments") fs.StringVarP(&exec.Input.Command, "command", "c", "", "Windows process command line (executable & arguments)") -- cgit v1.2.3