Skip to content

Commit 76e27ed

Browse files
authored
Land rapid7#18924, allow selecting auxiliary modules in RPC
2 parents 7b595d2 + 41d458f commit 76e27ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/msf/core/rpc/v10/rpc_module.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ def rpc_compatible_evasion_payloads(mname)
350350
def rpc_compatible_sessions(mname)
351351
if mname.start_with? 'exploit/'
352352
m = _find_module('exploit',mname)
353+
elsif mname.start_with? 'auxiliary/'
354+
m = _find_module('auxiliary', mname)
353355
else
354356
m = _find_module('post',mname)
355357
end

0 commit comments

Comments
 (0)