Find and replace
This commit is contained in:
@@ -89,7 +89,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
|
||||
def exploit
|
||||
# load the static jar file
|
||||
path = File.join( Msf::Config.install_root, "data", "exploits", "CVE-2012-0507.jar" )
|
||||
path = File.join( Msf::Config.data_directory, "exploits", "CVE-2012-0507.jar" )
|
||||
fd = File.open( path, "rb" )
|
||||
@jar_data = fd.read(fd.stat.size)
|
||||
fd.close
|
||||
|
||||
Reference in New Issue
Block a user