Sha256: 08a31e13de83c7d9c60fc90c4f57d2ab2c49b0491a0a4ce32eca1da89f6914d4

Contents?: true

Size: 703 Bytes

Versions: 6

Compression:

Stored size: 703 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::Stdout

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

    def run
        print_ok results['message']

        return if !results['cookies']
        print_info 'Cookies set to:'
        results['cookies'].each_pair { |name, val| print_info "    * #{name} = #{val}" }
    end

end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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