Sha256: 2f1e043c7f97b4c15e0efe1f1cf6b0aa39a6e5c708afe5a1e8344e2715110603
Contents?: true
Size: 1.27 KB
Versions: 5
Compression:
Stored size: 1.27 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 require 'ap' module Arachni module Reports # # Awesome prints an {AuditStore#to_h} hash. # # @author: Tasos "Zapotek" Laskos # <tasos.laskos@gmail.com> # <zapotek@segfault.gr> # @version: 0.1 # class AP < Arachni::Report::Base # # @param [AuditStore] audit_store # @param [Hash] options options passed to the report # @param [String] outfile where to save the report # def initialize( audit_store, options ) @audit_store = audit_store end def run( ) print_line( ) print_status( 'Awesome printing AuditStore as a Hash...' ) ap @audit_store.to_h print_status( 'Done!' ) end def self.info { :name => 'AP', :description => %q{Awesome prints an AuditStore hash.}, :author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>', :version => '0.1' } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
arachni-0.4.0.4 | reports/ap.rb |
arachni-0.4.0.3 | reports/ap.rb |
arachni-0.4.0.2 | reports/ap.rb |
arachni-0.4.0.1 | reports/ap.rb |
arachni-0.4 | reports/ap.rb |