Update rpsec

This commit is contained in:
sinn3r 2014-12-16 00:26:53 -06:00
parent c2bc79c53c
commit 513fd122b8
1 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@ describe Msf::PayloadGenerator do
reference_name: 'x86/shikata_ga_nai'
)
}
let(:var_name) { 'buf' }
subject(:payload_generator) {
described_class.new(generator_opts)
@ -482,7 +483,7 @@ describe Msf::PayloadGenerator do
let(:format) { 'c' }
it 'applies the appropriate transform format' do
::Msf::Simple::Buffer.should_receive(:transform).with(shellcode, format)
::Msf::Simple::Buffer.should_receive(:transform).with(shellcode, format, var_name)
payload_generator.format_payload(shellcode)
end
end