Class: Arachni::OptionGroups::Snapshot

Inherits:
Arachni::OptionGroup show all
Defined in:
lib/arachni/option_groups/snapshot.rb

Overview

Author:

  • Tasos “Zapotek” Laskos <tasos.laskos@arachni-scanner.com>

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Arachni::OptionGroup

#==, attr_accessor, attributes, #attributes, defaults, #defaults, #hash, inherited, #merge, set_defaults, #to_h, #to_hash, #to_rpc_data, #update, #validate

Constructor Details

#initializeSnapshot

Returns a new instance of Snapshot.



20
21
22
# File 'lib/arachni/option_groups/snapshot.rb', line 20

def initialize
    @save_path = Paths.config['framework']['snapshots']
end

Instance Attribute Details

#save_pathString

Returns Directory or file path where to store the scan snapshot.

Returns:

  • (String)

    Directory or file path where to store the scan snapshot.

See Also:

  • Framework#suspend


18
19
20
# File 'lib/arachni/option_groups/snapshot.rb', line 18

def save_path
  @save_path
end