save os version info (usually windows service packs) and close the names tag, so we don't store every xml tag's text as a hostname
git-svn-id: file:///home/svn/framework3/trunk@12298 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
895e76afee
commit
36367f8a67
|
@ -29,6 +29,7 @@ class NexposeXMLStreamParser
|
|||
@host["os_vendor"] = attributes["vendor"]
|
||||
@host["os_family"] = attributes["family"]
|
||||
@host["os_product"] = attributes["product"]
|
||||
@host["os_version"] = attributes["version"]
|
||||
@host["arch"] = attributes["arch"]
|
||||
@host["os_certainty"] = attributes["certainty"]
|
||||
end
|
||||
|
@ -76,7 +77,7 @@ class NexposeXMLStreamParser
|
|||
when "vulnerability"
|
||||
callback.call(:vuln, @vuln) if callback
|
||||
reset_state
|
||||
when "service","reference"
|
||||
when "service","reference","names"
|
||||
@state = :generic_state
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue