made necessary inheritance changes
parent
eadbb6b582
commit
51604fa24a
|
@ -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']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue