Sha256: bf937fd321a212b0203118bbf7554cf218bc2061fa49fd16d08cd31b6db9b197
Contents?: true
Size: 1.02 KB
Versions: 6
Compression:
Stored size: 1.02 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 class Arachni::Plugins::Suspendable < Arachni::Plugin::Base attr_reader :counter def prepare @counter = 0 end def restore( counter ) @counter = counter end def run options[:my_option] = 'updated' @counter += 1 wait_while_framework_running end def suspend @counter end def self.info { name: 'Suspendable', description: %q{}, author: 'Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>', version: '0.1', options: [ Options::String.new( 'my_option', required: true, description: 'Required option' ) ] } end end
Version data entries
6 entries across 6 versions & 1 rubygems