Fixes #279, thanks jduck!
git-svn-id: file:///home/svn/framework3/trunk@6458 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
6dac26b0ff
commit
43ad9f7a7c
6
msfcli
6
msfcli
|
@ -147,17 +147,23 @@ nop = nil
|
|||
|
||||
if (exploit.datastore['PAYLOAD'])
|
||||
payload = $framework.payloads.create(exploit.datastore['PAYLOAD'])
|
||||
if (payload != nil)
|
||||
payload.datastore.import_options_from_s(ARGV.join('_|_'), '_|_')
|
||||
end
|
||||
end
|
||||
|
||||
if (exploit.datastore['ENCODER'])
|
||||
encoder = $framework.encoders.create(exploit.datastore['ENCODER'])
|
||||
if (encoder != nil)
|
||||
encoder.datastore.import_options_from_s(ARGV.join('_|_'), '_|_')
|
||||
end
|
||||
end
|
||||
|
||||
if (exploit.datastore['NOP'])
|
||||
nop = $framework.nops.create(exploit.datastore['NOP'])
|
||||
if (nop != nil)
|
||||
nop.datastore.import_options_from_s(ARGV.join('_|_'), '_|_')
|
||||
end
|
||||
end
|
||||
|
||||
case mode.downcase
|
||||
|
|
Loading…
Reference in New Issue