Record the device_id correctly in the nexpose raw import

unstable
HD Moore 2012-06-25 01:23:16 -05:00
parent 584e0dbd98
commit 19c18a3e4e
1 changed files with 3 additions and 3 deletions

View File

@ -384,9 +384,9 @@ module Rex
# This hash defines the matching criteria to overwrite an existing entry # This hash defines the matching criteria to overwrite an existing entry
vkey = { :src => 'nexpose', :nx_vuln_id => @state[:test][:id] } vkey = { :src => 'nexpose', :nx_vuln_id => @state[:test][:id] }
if @state[:device_id] if @state[:nx_device_id]
vdet[:nx_device_id] = @state[:device_id] vdet[:nx_device_id] = @state[:nx_device_id]
vkey[:nx_device_id] = @state[:device_id] vkey[:nx_device_id] = @state[:nx_device_id]
end end
if @state[:test][:key] if @state[:test][:key]