Method: Arachni::State::Framework#dump
- Defined in:
- lib/arachni/state/framework.rb
#dump(directory) ⇒ Object
409 410 411 412 413 414 415 416 417 418 |
# File 'lib/arachni/state/framework.rb', line 409 def dump( directory ) FileUtils.mkdir_p( directory ) rpc.dump( "#{directory}/rpc/" ) %w(element_pre_check_filter page_queue_filter url_queue_filter browser_skip_states audited_page_count).each do |attribute| IO.binwrite( "#{directory}/#{attribute}", Marshal.dump( send(attribute) ) ) end end |