Sha256: 6337fc32038db1c58d6f430edf9718950e28eb3472c00f0437ec92f680e8f74b

Contents?: true

Size: 810 Bytes

Versions: 7

Compression:

Stored size: 810 Bytes

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

# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
class PluginFormatters::UncommonHeaders < Arachni::Plugin::Formatter

    def run( xml )
        results.each do |url, headers|
            xml.entry {
                xml.url url

                xml.headers {
                    headers.each do |name, value|
                        xml.header name: name, value: value
                    end
                }
            }
        end
    end

end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 components/reporters/plugin_formatters/xml/uncommon_headers.rb
arachni-1.0.5 components/reporters/plugin_formatters/xml/uncommon_headers.rb
arachni-1.0.4 components/reporters/plugin_formatters/xml/uncommon_headers.rb
arachni-1.0.3 components/reporters/plugin_formatters/xml/uncommon_headers.rb
arachni-1.0.2 components/reporters/plugin_formatters/xml/uncommon_headers.rb
arachni-1.0.1 components/reporters/plugin_formatters/xml/uncommon_headers.rb
arachni-1.0 components/reporters/plugin_formatters/xml/uncommon_headers.rb