Be more pedantic about it

git-svn-id: file:///home/svn/framework3/trunk@13696 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-09-05 17:43:09 +00:00
parent 0d6c889844
commit adb5ad7cc9
1 changed files with 5 additions and 2 deletions

View File

@ -185,14 +185,17 @@ module Auxiliary::Report
# If we have a database we need to store it with all the available
# metadata.
conf = {}
conf[:host] = host if host
conf[:service] = service if service
conf[:host] = host if host
conf[:type] = ltype
conf[:content_type] = ctype
conf[:path] = full_path
conf[:workspace] = myworkspace
conf[:name] = filename if filename
conf[:info] = info if info
if service and service.kind_of?(Msf::DBManager::Service)
conf[:service] = service if service
end
framework.db.report_loot(conf)
end