made necessary inheritance changes

bug/bundler_fix
William Webb 2016-02-10 10:59:11 -06:00
parent eadbb6b582
commit 51604fa24a
1 changed files with 3 additions and 2 deletions

View File

@ -5,10 +5,11 @@
require 'msf/core' require 'msf/core'
class Metasploit4 < Msf::Exploit::Remote class Metasploit4 < Msf::Auxiliary
Rank = GoodRanking Rank = GoodRanking
include Msf::Exploit::Remote::Tcp include Msf::Exploit::Remote::Tcp
include Msf::Auxiliary::Dos
def initialize(info={}) def initialize(info={})
super(update_info(info, super(update_info(info,
@ -72,7 +73,7 @@ class Metasploit4 < Msf::Exploit::Remote
return pkt return pkt
end end
def exploit def run
ip = datastore['RHOST'] ip = datastore['RHOST']
port = datastore['RPORT'] port = datastore['RPORT']