Sha256: 0ec377b58ecd4f9cd585d1de15bef0d81b39e31304cc97825fb88126587e4971

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

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

#
# Arachni Framework Report (.afr)
#
# @author: Tasos "Zapotek" Laskos
#                                      <tasos.laskos@gmail.com>
#                                      <zapotek@segfault.gr>
# @version: 0.1.1
#
class AFR < Arachni::Report::Base

    def run
        print_line
        print_status( 'Dumping audit results in \'' + @options['outfile']  + '\'.' )

        @audit_store.save( @options['outfile'] )

        print_status( 'Done!' )
    end

    def self.info
        {
            :name           => 'Arachni Framework Report',
            :description    => %q{Saves the file in the default Arachni Framework Report (.afr) format.},
            :author         => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>',
            :version        => '0.1',
            :options        => [ Arachni::Report::Options.outfile( '.afr' ) ]
        }
    end

end

end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arachni-0.4.0.4 reports/afr.rb
arachni-0.4.0.3 reports/afr.rb
arachni-0.4.0.2 reports/afr.rb
arachni-0.4.0.1 reports/afr.rb