Sha256: e1641388a096aa8e9e7bf9f9266bb6e7a9c60b17bc1f8c8b085d066d777834eb

Contents?: true

Size: 800 Bytes

Versions: 5

Compression:

Stored size: 800 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.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 AutoLogin plugin
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
class PluginFormatters::AutoLogin < Arachni::Plugin::Formatter

    def run( xml )
        xml.message results['message']
        xml.status results['status']

        if results['cookies']
            xml.cookies {
                results['cookies'].each { |name, value| xml.cookie name: name, value: value }
            }
        end
    end

end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 components/reporters/plugin_formatters/xml/autologin.rb
arachni-1.6.1.2 components/reporters/plugin_formatters/xml/autologin.rb
arachni-1.6.1.1 components/reporters/plugin_formatters/xml/autologin.rb
arachni-1.6.1 components/reporters/plugin_formatters/xml/autologin.rb
arachni-1.6.0 components/reporters/plugin_formatters/xml/autologin.rb