Author:
Tasos “Zapotek” Laskos <tasos.laskos@arachni-scanner.com>
28 29 30 31
# File 'lib/arachni/state/options.rb', line 28 def self.load( directory ) Arachni::Options.load( "#{directory}/options" ) new end
33 34
# File 'lib/arachni/state/options.rb', line 33 def clear end
23 24 25 26
# File 'lib/arachni/state/options.rb', line 23 def dump( directory ) FileUtils.mkdir_p( directory ) Arachni::Options.save( "#{directory}/options" ) end
15 16 17 18 19 20 21
# File 'lib/arachni/state/options.rb', line 15 def statistics { url: Arachni::Options.url, checks: Arachni::Options.checks, plugins: Arachni::Options.plugins.keys } end