Sha256: 72c0b9a105f1bc20676981a5af3330e37a35ca809e9d6ee279e1a51a97d0fe7e
Contents?: true
Size: 1.15 KB
Versions: 6
Compression:
Stored size: 1.15 KB
Contents
=begin Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.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 # Converts the Report to a Hash which it then dumps in Marshal format into a file. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> # # @version 0.1.2 class Arachni::Reporters::Marshal < Arachni::Reporter::Base def run print_line print_status "Dumping audit results in #{outfile}." File.open( outfile, 'w' ) do |f| f.write ::Marshal::dump( report.to_hash ) end print_status 'Done!' end def self.info { name: 'Marshal', description: %q{Exports the audit results as a Marshal (.marshal) file.}, content_type: 'application/x-marshal', author: 'Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>', version: '0.1.1', options: [Options.outfile('.marshal')] } end end
Version data entries
6 entries across 6 versions & 1 rubygems