Update rpsec
This commit is contained in:
parent
c2bc79c53c
commit
513fd122b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue