Sha256: b80ba1c18f7793b71ecb2606eb431ebb7621fa269d2f76a7145290b183fed91e

Contents?: true

Size: 688 Bytes

Versions: 5

Compression:

Stored size: 688 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::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

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 components/reporters/plugin_formatters/stdout/login_script.rb
arachni-1.6.1.2 components/reporters/plugin_formatters/stdout/login_script.rb
arachni-1.6.1.1 components/reporters/plugin_formatters/stdout/login_script.rb
arachni-1.6.1 components/reporters/plugin_formatters/stdout/login_script.rb
arachni-1.6.0 components/reporters/plugin_formatters/stdout/login_script.rb