Adds an import note for MBSA and Foundstone.
git-svn-id: file:///home/svn/framework3/trunk@12792 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2e0d399262
commit
43b78a6b8f
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue