Sha256: 60e91f63d9c669f5d332bb00b9152474b4a0c918e9e0630cd8b49acb75d5d4ae

Contents?: true

Size: 759 Bytes

Versions: 6

Compression:

Stored size: 759 Bytes

Contents

=begin
    Copyright 2010-2015 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::LoginScript < 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

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.3.2 components/reporters/plugin_formatters/xml/login_script.rb
arachni-1.3.1 components/reporters/plugin_formatters/xml/login_script.rb
arachni-1.3 components/reporters/plugin_formatters/xml/login_script.rb
arachni-1.2.1 components/reporters/plugin_formatters/xml/login_script.rb
arachni-1.2 components/reporters/plugin_formatters/xml/login_script.rb
arachni-1.1 components/reporters/plugin_formatters/xml/login_script.rb