Skip to content

Commit d38a95a

Browse files
committed
Merge branch 'bugfixes/post-module-execution-causing-duplicate-search-results' of github.com:nstarke/metasploit-framework into nstarke-bugfixes/post-module-execution-causing-duplicate-search-results
2 parents 9b43749 + 048aebb commit d38a95a

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
@@ -678,7 +678,7 @@ def search_modules(search_string)
678678
union.or(condition)
679679
}
680680

681-
query = query.where(unioned_conditions).uniq
681+
query = query.where(unioned_conditions).to_a.uniq { |m| m.fullname }
682682
end
683683

684684
query

0 commit comments

Comments
 (0)