Adds an import note for MBSA and Foundstone.

git-svn-id: file:///home/svn/framework3/trunk@12792 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2011-06-01 02:21:10 +00:00
parent 2e0d399262
commit 43b78a6b8f
2 changed files with 10 additions and 4 deletions

View File

@ -59,9 +59,12 @@ module Rex
when "Host" # Wrap it up
collect_host_data
host_object = report_host &block
if host_object
db.report_import_note(@args[:wspace],host_object)
report_services(host_object)
report_vulns(host_object)
end
# Reset the state once we close a host
report_services(host_object)
report_vulns(host_object)
@state.delete_if {|k| k != :current_tag}
when "Port"
@state[:has_text] = false

View File

@ -48,8 +48,11 @@ module Rex
when "SecScan" # Wrap it up
collect_host_data
host_object = report_host &block
report_fingerprint(host_object)
report_vulns(host_object,&block)
if host_object
db.report_import_note(@args[:wspace],host_object)
report_fingerprint(host_object)
report_vulns(host_object,&block)
end
# Reset the state once we close a host
@state.delete_if {|k| k != :current_tag}
when "Check"