Skip to content

Commit 3a7dbd7

Browse files
author
HD Moore
committed
Merge pull request rapid7#1783 from kernelsmith/bug/RM7926-msfconsole_search_app_server_busted
fixes RM7926 msfconsole search busted
2 parents 293c847 + cf7702f commit 3a7dbd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/db_manager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def search_modules(search_string, inclusive=false)
596596
where_v << [ kv ]
597597
when 'app'
598598
where_q << ' ( module_details.stance = ? )'
599-
where_v << [ ( kv == "client") ? "passive" : "active" ]
599+
where_v << [ ( kv == "client") ? "passive" : "aggressive" ]
600600
when 'ref'
601601
where_q << ' ( module_refs.name ILIKE ? )'
602602
where_v << [ '%' + kv + '%' ]

0 commit comments

Comments
 (0)