Apply the console ID if specified

unstable
HD Moore 2012-06-25 01:37:38 -05:00
parent 19c18a3e4e
commit a393f8d62d
2 changed files with 2 additions and 1 deletions

View File

@ -394,7 +394,7 @@ module Rex
vkey[:nx_proof_key] = @state[:test][:key]
end
vdet[:nx_console_id] = @console_id if @console_id
vdet[:nx_console_id] = @nx_console_id if @nx_console_id
vdet[:nx_vuln_status] = @state[:test][:status] if @state[:test][:status]
vdet[:nx_scan_id] = @state[:test][:nx_scan_id] if @state[:test][:nx_scan_id]

View File

@ -49,6 +49,7 @@ module Parser
@state[:current_tag] = {}
@block = block if block
@report_data = {:wspace => args[:wspace]}
@nx_console_id = args[:nx_console_id]
super()
end