Skip to content

Commit cf7702f

Browse files
author
kernelsmith
committed
"acitve" should be "aggressive"
fixes http://dev.metasploit.com/redmine/issues/7926 which prevented a proper search using: msf> search exploit:type app:server
1 parent 293c847 commit cf7702f

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)