Skip to content

Commit

Permalink
Make vulns public in Nexpose parser to improve debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
cript0nauta committed Jul 6, 2017
1 parent c98ad74 commit 1edd5d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/repo/nexpose-full/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class NexposeFullXmlParser(object):

def __init__(self, xml_output):
tree = self.parse_xml(xml_output)
vulns = self.get_vuln_definitions(tree)
self.vulns = self.get_vuln_definitions(tree)

if tree:
self.items = self.get_items(tree, vulns)
self.items = self.get_items(tree, self.vulns)
else:
self.items = []

Expand Down

0 comments on commit 1edd5d3

Please sign in to comment.