Module: Arachni::Element::NestedCookie::Capabilities::Submittable

Includes:
Capabilities::Submittable
Defined in:
lib/arachni/element/nested_cookie/capabilities/submittable.rb

Overview

Author:

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

Instance Method Summary collapse

Methods included from Capabilities::Submittable

#action, #action=, #dup, #http, #http_request, #id, #initialize, #method, #method=, #platforms, #to_h

Instance Method Details

#submit(options = {}, &block) ⇒ Object



17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/arachni/element/nested_cookie/capabilities/submittable.rb', line 17

def submit( options = {}, &block )
    options                   = options.dup
    options[:raw_cookies]     = [self]
    options[:follow_location] = true if !options.include?( :follow_location )

    @auditor ||= options.delete( :auditor )

    options[:performer] ||= self

    options[:raw_parameters] ||= raw_inputs

    http_request( options, &block )
end