diff --git a/lib/rex/parser/nexpose_xml.rb b/lib/rex/parser/nexpose_xml.rb index 8a6d38b033..dd46aca463 100644 --- a/lib/rex/parser/nexpose_xml.rb +++ b/lib/rex/parser/nexpose_xml.rb @@ -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