fix exe generation for auto-targetting
git-svn-id: file:///home/svn/framework3/trunk@10753 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
7c1d8c7d05
commit
1935f2007f
|
@ -173,7 +173,12 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
:jsp_name => jsp_name
|
:jsp_name => jsp_name
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
exe = generate_payload_exe({ :code => p.encoded })
|
exe = generate_payload_exe(
|
||||||
|
{
|
||||||
|
:code => p.encoded,
|
||||||
|
:arch => arch,
|
||||||
|
:platform => plat
|
||||||
|
})
|
||||||
@war_data = Msf::Util::EXE.to_jsp_war(exe,
|
@war_data = Msf::Util::EXE.to_jsp_war(exe,
|
||||||
{
|
{
|
||||||
:app_name => app_base,
|
:app_name => app_base,
|
||||||
|
|
Loading…
Reference in New Issue