Allows for nessus imports to grab the plugin name as well as the plugin ID.

git-svn-id: file:///home/svn/framework3/trunk@12609 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2011-05-13 16:29:07 +00:00
parent 369a2e898e
commit 7f21eb8406
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class NessusXMLStreamParser
@bid = Array.new @bid = Array.new
@xref = Array.new @xref = Array.new
@x = Hash.new @x = Hash.new
@x['nasl'] = attributes['pluginID'] @x['nasl'] = [attributes['pluginID'],attributes['pluginName']].join(" ")
@x['port'] = attributes['port'] @x['port'] = attributes['port']
@x['proto'] = attributes['protocol'] @x['proto'] = attributes['protocol']
@x['svc_name'] = attributes['svc_name'] @x['svc_name'] = attributes['svc_name']