Generate jar files for executable output for java payloads.
git-svn-id: file:///home/svn/framework3/trunk@11691 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
648214cad2
commit
426f70e752
|
@ -105,6 +105,10 @@ if (cmd =~ /^(p|y|r|d|c|j|x|b|v|w)/)
|
|||
|
||||
exe = Msf::Util::EXE.to_executable($framework, arch, plat, buf)
|
||||
|
||||
if(!exe and plat.index(Msf::Module::Platform::Java))
|
||||
exe = payload.generate_jar.pack
|
||||
end
|
||||
|
||||
if(exe)
|
||||
$stderr.puts(note)
|
||||
$stdout.write(exe)
|
||||
|
|
Loading…
Reference in New Issue