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:
Adam Cammack 2017-11-28 21:37:25 -06:00
parent f132c1572f
commit 3fff092042
No known key found for this signature in database
GPG Key ID: C9378BA088092D66
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
include Msf::Auxiliary::Report
module Msf::Module::External
include Msf::Auxiliary::Report
def wait_status(mod)
begin
while mod.running