Sha256: e098aa5accaed5e1d61984109ec3993ef79d6a7917e64311b5c9a563102f3627

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

=begin
                  Arachni
  Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>

  This is free software; you can copy and distribute and modify
  this program under the term of the GPL v2.0 License
  (See LICENSE file for details)

=end

module Arachni
module Reports

class Stdout
module PluginFormatters

    #
    # Stdout formatter for the results of the TimingAttacks plugin.
    #
    # @author: Tasos "Zapotek" Laskos
    #                                      <tasos.laskos@gmail.com>
    #                                      <zapotek@segfault.gr>
    # @version: 0.1
    #
    class TimingAttacks < Arachni::Plugin::Formatter

        def run
            print_status( ' --- Timeout notice:' )
            print_info( 'Description: ' + @description )

            print_line
            print_info( 'Relevant issues:' )
            print_info( '--------------------' )
            @results.each {
                |issue|
                print_ok( "[\##{issue['index']}] #{issue['name']} at " +
                    "#{issue['url']} in #{issue['elem']} variable" +
                    " '#{issue['var']}' using #{issue['method']}." )
            }

            print_line
        end

    end

end
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.0.4 reports/plugin_formatters/stdout/timing_attacks.rb
arachni-0.4.0.3 reports/plugin_formatters/stdout/timing_attacks.rb
arachni-0.4.0.2 reports/plugin_formatters/stdout/timing_attacks.rb
arachni-0.4.0.1 reports/plugin_formatters/stdout/timing_attacks.rb
arachni-0.4 reports/plugin_formatters/stdout/timing_attacks.rb