Merge branch 'searchfix' of git://github.com/scriptjunkie/metasploit-framework into scriptjunkie-searchfix

unstable
sinn3r 2012-10-27 18:46:31 -05:00
commit a996020aed
1 changed files with 2 additions and 2 deletions

View File

@ -588,8 +588,8 @@ class DBManager
where_v << [ xv, xv ]
when 'os','platform'
xv = "%#{kv}%"
where_q << ' ( module_targets.name ILIKE ? ) '
where_v << [ xv ]
where_q << ' ( module_platforms.name ILIKE ? OR module_targets.name ILIKE ? ) '
where_v << [ xv, xv ]
when 'port'
# TODO
when 'type'