diff --git a/msfvenom b/msfvenom index be66f3e2b7..407233b294 100755 --- a/msfvenom +++ b/msfvenom @@ -351,7 +351,7 @@ if generator_opts[:list_options] $stderr.puts "Advanced options for #{payload_mod.fullname}:\n\n" $stdout.puts ::Msf::Serializer::ReadableText.dump_advanced_options(payload_mod, ' ') - $stderr.puts "encrypt options for #{payload_mod.fullname}:\n\n" + $stderr.puts "Encryption options for #{payload_mod.fullname}:\n\n" $stdout.puts ::Msf::Serializer::ReadableText.dump_encrypt_options(payload_mod, ' ') exit(0) end diff --git a/spec/lib/msf/core/payload_generator_spec.rb b/spec/lib/msf/core/payload_generator_spec.rb index 2c5736065a..438ca0ccaa 100644 --- a/spec/lib/msf/core/payload_generator_spec.rb +++ b/spec/lib/msf/core/payload_generator_spec.rb @@ -1056,7 +1056,7 @@ RSpec.describe Msf::PayloadGenerator do } } it 'applies the appropriate transform format' do - expect(::Msf::Simple::Buffer).to receive(:transform).with(shellcode, 'c', 'buf') + expect(::Msf::Simple::Buffer).to receive(:transform).with(shellcode, 'c', 'buf'. {}) payload_generator.format_payload(shellcode) end end