Sha256: 9b08b551ddb8d7a0639821adbfea0d153970ca523967823cf61f7e18a408ccf9

Contents?: true

Size: 1.11 KB

Versions: 5

Compression:

Stored size: 1.11 KB

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::VectorCollector < Arachni::Plugin::Formatter

    def run
        results.each do |url, elements|
            print_status url
            print_status '-' * 80

            elements.each do |element|
                print_info "#{element['type']} pointing to #{element['action']}"

                if (element['inputs'] || {}).any?
                    element['inputs'].each do |name, value|
                        print_info "    #{name.inspect} => #{value.inspect}"
                    end
                end

                if element['source']
                    print_info element['source']
                end

                print_line
            end

            print_line
        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/stdout/vector_collector.rb
arachni-1.6.1.2 components/reporters/plugin_formatters/stdout/vector_collector.rb
arachni-1.6.1.1 components/reporters/plugin_formatters/stdout/vector_collector.rb
arachni-1.6.1 components/reporters/plugin_formatters/stdout/vector_collector.rb
arachni-1.6.0 components/reporters/plugin_formatters/stdout/vector_collector.rb