honor the Spawn option when creating a jar
git-svn-id: file:///home/svn/framework3/trunk@13215 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
7dbb56b38b
commit
4188db3a6d
|
@ -362,6 +362,8 @@ class EncodedPayload
|
|||
def encoded_jar(opts={})
|
||||
return pinst.generate_jar(opts) if pinst.respond_to? :generate_jar
|
||||
|
||||
opts[:spawn] ||= pinst.datastore["Spawn"]
|
||||
|
||||
Msf::Util::EXE.to_jar(encoded_exe(opts), opts)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue