Method: Rex::Parser::NessusXMLStreamParser#tag_end
- Defined in:
- lib/rex/parser/nessus_xml.rb
#tag_end(name) ⇒ Object
96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/rex/parser/nessus_xml.rb', line 96 def tag_end(name) case name when "ReportHost" on_found_host.call(@host) if on_found_host reset_state when "ReportItem" @x['cve'] = @cve @x['bid'] = @bid @x['xref'] = @xref @host['ports'].push @x end @state = :generic_state end |