Fix msf/core and self.class msftidy warnings

Also fixed rex requires.
This commit is contained in:
William Vu
2017-05-03 15:42:21 -05:00
parent 494711ee65
commit 64452de06d
3186 changed files with 2140 additions and 7875 deletions
@@ -3,9 +3,6 @@
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
require 'rex'
class MetasploitModule < Msf::Exploit::Remote
Rank = ExcellentRanking
@@ -80,7 +77,7 @@ class MetasploitModule < Msf::Exploit::Remote
# This is the default for a 32-bit Windows install
OptString.new('LIBPATH', [ false, "The codebase path to use (privileged)",
"C:\\Program Files\\java\\jre6\\lib\\ext"]),
], self.class)
])
end
def exploit