Sha256: 3f7558afe8e368935aeffa65db47c945e52d1a6d84e60e0efee1f5b8875f27fe
Contents?: true
Size: 1.06 KB
Versions: 7
Compression:
Stored size: 1.06 KB
Contents
=begin Copyright 2010-2014 Tasos Laskos <tasos.laskos@arachni-scanner.com> This file is part of the Arachni Framework project and is subject to redistribution and commercial restrictions. Please see the Arachni Framework web site for more information on licensing and terms of use. =end class Arachni::Reporters::XML # XML formatter for the results of the ContentTypes plugin # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class PluginFormatters::ContentTypes < Arachni::Plugin::Formatter def run( xml ) results.each do |type, infos| infos.each do |info| xml.entry { xml.content_type type xml.url info['url'] xml.method_ info['method'] info['parameters'].each do |name, value| xml.parameters { xml.name name xml.value value } end } end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems