lib/rex/powershell/command.rb in rex-powershell-0.1.79 vs lib/rex/powershell/command.rb in rex-powershell-0.1.80

- old
+ new

@@ -342,10 +342,10 @@ if opts[:exec_in_place] final_payload = smallest_payload else # Wrap in hidden runtime / architecture detection inner_args = opts.clone - inner_args[:use_single_quotes] = true + inner_args[:wrap_double_quotes] = true final_payload = run_hidden_psh(smallest_payload, payload_arch, encoded, inner_args) end command_args = { noprofile: true,