Actually store the title for Nexpose imports.

git-svn-id: file:///home/svn/framework3/trunk@12374 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2011-04-19 23:00:19 +00:00
parent 8c0773ba71
commit b164ac6539
1 changed files with 2 additions and 0 deletions

View File

@ -1105,6 +1105,8 @@ class DBManager
vuln = host.vulns.find_or_initialize_by_name(name, :include => :refs) vuln = host.vulns.find_or_initialize_by_name(name, :include => :refs)
end end
vuln.info = info.to_s if info
if opts[:port] if opts[:port]
proto = nil proto = nil
case opts[:proto].to_s.downcase # Catch incorrect usages, as in report_note case opts[:proto].to_s.downcase # Catch incorrect usages, as in report_note