Land #9562, avoid an error with aux module command dispatcher

MS-2855/keylogger-mettle-extension
Brent Cook 2018-02-15 17:46:58 -06:00
commit 6734e532f5
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ class Auxiliary
} }
# Always run passive modules in the background # Always run passive modules in the background
if (mod.passive || mod.passive_action?(action || mod.default_action)) if mod.is_a?(Msf::Module::HasActions) &&
(mod.passive || mod.passive_action?(action || mod.default_action))
jobify = true jobify = true
end end