Fix include scope in external module mixin
The auxiliary report mixin overrides some of the methods in Metasploit::Credential, which is fine in framework, but causes issues in projects relying on the base behavior of Metasploit::Credential. This changes the include scope from global to just whatever includes the external module mixin.
This commit is contained in:
parent
f132c1572f
commit
3fff092042
|
@ -1,6 +1,6 @@
|
|||
include Msf::Auxiliary::Report
|
||||
|
||||
module Msf::Module::External
|
||||
include Msf::Auxiliary::Report
|
||||
|
||||
def wait_status(mod)
|
||||
begin
|
||||
while mod.running
|
||||
|
|
Loading…
Reference in New Issue