fix missing bock transitions
the block objects weren't being transitioned over from the class methods properly, so the callback blocks were never getting processed.
This commit is contained in:
parent
fe39642e27
commit
122b34c703
|
@ -87,8 +87,8 @@ module Auxiliary
|
|||
#
|
||||
# Calls the class method.
|
||||
#
|
||||
def run_simple(opts = {})
|
||||
Msf::Simple::Auxiliary.run_simple(self, opts)
|
||||
def run_simple(opts = {}, &block)
|
||||
Msf::Simple::Auxiliary.run_simple(self, opts, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
|
@ -157,8 +157,8 @@ module Exploit
|
|||
#
|
||||
# Calls the class method.
|
||||
#
|
||||
def exploit_simple(opts)
|
||||
Msf::Simple::Exploit.exploit_simple(self, opts)
|
||||
def exploit_simple(opts, &block)
|
||||
Msf::Simple::Exploit.exploit_simple(self, opts, &block)
|
||||
end
|
||||
|
||||
#
|
||||
|
|
|
@ -135,8 +135,8 @@ module Payload
|
|||
#
|
||||
# Calls the class method.
|
||||
#
|
||||
def generate_simple(opts)
|
||||
Msf::Simple::Payload.generate_simple(self, opts)
|
||||
def generate_simple(opts, &block)
|
||||
Msf::Simple::Payload.generate_simple(self, opts, &block)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -79,8 +79,8 @@ module Post
|
|||
#
|
||||
# Calls the class method.
|
||||
#
|
||||
def run_simple(opts = {})
|
||||
Msf::Simple::Post.run_simple(self, opts)
|
||||
def run_simple(opts = {}, &block)
|
||||
Msf::Simple::Post.run_simple(self, opts, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Reference in New Issue