Class: Arachni::Reports::AP
- Inherits:
-
Arachni::Report::Base
- Object
- Arachni::Report::Base
- Arachni::Reports::AP
- Includes:
- Arachni::Report::Registrar, Arachni::UI::Output
- Defined in:
- reports/ap.rb
Overview
Awesome prints an Arachni::AuditStore#to_h hash.
@author: Anastasios “Zapotek” Laskos
<tasos.laskos@gmail.com> <zapotek@segfault.gr>
@version: $Rev: 276 $
Class Method Summary (collapse)
-
+ (Object) info
REQUIRED.
Instance Method Summary (collapse)
-
- (AP) initialize(audit_store, options = nil, outfile = nil)
constructor
A new instance of AP.
-
- (Object) run
REQUIRED.
Methods included from Arachni::Report::Registrar
Methods included from Arachni::UI::Output
#debug!, #debug?, #only_positives!, #only_positives?, #print_debug, #print_debug_backtrace, #print_debug_pp, #print_error, #print_info, #print_line, #print_ok, #print_status, #print_verbose, #verbose!, #verbose?
Constructor Details
- (AP) initialize(audit_store, options = nil, outfile = nil)
A new instance of AP
37 38 39 |
# File 'reports/ap.rb', line 37 def initialize( audit_store, = nil, outfile = nil ) @audit_store = audit_store end |
Class Method Details
+ (Object) info
REQUIRED
Do not ommit any of the info.
61 62 63 64 65 66 67 68 |
# File 'reports/ap.rb', line 61 def self.info { 'Name' => 'AP', 'Description' => %q{Awesome prints an AuditStore hash.}, 'Author' => 'zapotek', 'Version' => '$Rev: 276 $', } end |
Instance Method Details
- (Object) run
REQUIRED
Use it to run your report.
46 47 48 49 50 51 52 53 54 |
# File 'reports/ap.rb', line 46 def run( ) print_line( ) print_status( 'Awesome printing AuditStore...' ) ap @audit_store.to_h print_status( 'Done!' ) end |