Skip to content

Commit 3fff092

Browse files
committed
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.
1 parent f132c15 commit 3fff092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/module/external.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
include Msf::Auxiliary::Report
2-
31
module Msf::Module::External
2+
include Msf::Auxiliary::Report
3+
44
def wait_status(mod)
55
begin
66
while mod.running

0 commit comments

Comments
 (0)