Merge pull request #1783 from kernelsmith/bug/RM7926-msfconsole_search_app_server_busted

fixes RM7926 msfconsole search busted
unstable
HD Moore 2013-04-30 11:29:21 -07:00
commit 3a7dbd772d
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ class DBManager
where_v << [ kv ]
when 'app'
where_q << ' ( module_details.stance = ? )'
where_v << [ ( kv == "client") ? "passive" : "active" ]
where_v << [ ( kv == "client") ? "passive" : "aggressive" ]
when 'ref'
where_q << ' ( module_refs.name ILIKE ? )'
where_v << [ '%' + kv + '%' ]