fix note search conditions
note search conditions needed to know about vuln_id or else vuln notes would get overwritten MSP-12183bug/bundler_fix
parent
a72d49678a
commit
095431c323
|
@ -124,6 +124,7 @@ module Msf::DBManager::Note
|
|||
conditions = { :ntype => ntype }
|
||||
conditions[:host_id] = host[:id] if host
|
||||
conditions[:service_id] = service[:id] if service
|
||||
conditions[:vuln_id] = opts[:vuln_id]
|
||||
|
||||
case mode
|
||||
when :unique
|
||||
|
|
Loading…
Reference in New Issue