Module: Arachni::Element::Capabilities::Analyzable

Includes:
Differential, Taint, Timeout, Auditable
Included in:
Arachni::Element::Cookie, Form, Header, Link, LinkTemplate
Defined in:
lib/arachni/element/capabilities/analyzable.rb,
lib/arachni/element/capabilities/analyzable/taint.rb,
lib/arachni/element/capabilities/analyzable/timeout.rb,
lib/arachni/element/capabilities/analyzable/differential.rb

Overview

Author:

Defined Under Namespace

Modules: Differential, Taint, Timeout

Constant Summary

Constants included from Differential

Differential::DIFFERENTIAL_OPTIONS

Constants included from Taint

Taint::TAINT_OPTIONS

Constants included from Auditable

Arachni::Element::Capabilities::Auditable::OPTIONS

Constants included from Mutable

Mutable::MUTATION_OPTIONS

Instance Attribute Summary

Attributes included from Auditable

#audit_options

Attributes included from WithAuditor

#auditor

Attributes included from Mutable

#affected_input_name, #format, #seed

Attributes included from Inputtable

#default_inputs, #inputs

Class Method Summary collapse

Methods included from Differential

#differential_analysis

Methods included from Timeout

add_phase_2_candidate, candidates_include?, deduplicate, deduplicate?, do_not_deduplicate, #ensure_responsiveness, has_candidates?, payload_delay_from_options, run, #timeout_analysis, timeout_from_options, #timeout_id, #timing_attack_probe, #timing_attack_verify

Methods included from Taint

#taint_analysis

Methods included from Auditable

#audit, #audit_id, #audit_status_message, #audit_status_message_action, #audit_verbose_message, #coverage_hash, #coverage_id, #dup, #initialize, #matches_skip_like_blocks?, #reset, #skip?, skip_like

Methods included from WithAuditor

#dup, #marshal_dump, #orphan?, #prepare_for_report, #remove_auditor

Methods included from Mutable

#affected_input_value, #affected_input_value=, #dup, #each_mutation, #immutables, #mutation?, #mutations, #reset, #switch_method, #to_h

Methods included from Submittable

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

Methods included from Inputtable

#[], #[]=, #changes, #dup, #has_inputs?, #inputtable_id, #reset, #to_h, #try_input, #update, #valid_input_data?, #valid_input_name?, #valid_input_name_data?, #valid_input_value?, #valid_input_value_data?

Methods included from Utilities

#available_port, #caller_name, #caller_path, #cookie_decode, #cookie_encode, #cookies_from_document, #cookies_from_file, #cookies_from_response, #exception_jail, #exclude_path?, #follow_protocol?, #form_decode, #form_encode, #forms_from_document, #forms_from_response, #generate_token, #get_path, #hms_to_seconds, #html_decode, #html_encode, #include_path?, #links_from_document, #links_from_response, #normalize_url, #page_from_response, #page_from_url, #parse_set_cookie, #path_in_domain?, #path_too_deep?, #port_available?, #rand_port, #random_seed, #redundant_path?, #remove_constants, #request_parse_body, #seconds_to_hms, #skip_page?, #skip_path?, #skip_resource?, #skip_response?, #to_absolute, #uri_decode, #uri_encode, #uri_parse, #uri_parse_query, #uri_parser, #uri_rewrite

Class Method Details

.has_timeout_candidates?Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/arachni/element/capabilities/analyzable.rb', line 35

def self.has_timeout_candidates?
    Timeout.has_candidates?
end

.resetObject

Empties the de-duplication/uniqueness look-up table.

Unless you’re sure you need this, set the :redundant flag to true when calling audit methods to bypass it.



29
30
31
32
# File 'lib/arachni/element/capabilities/analyzable.rb', line 29

def Analyzable.reset
    Differential.reset
    Timeout.reset
end

.timeout_audit_runObject



39
40
41
# File 'lib/arachni/element/capabilities/analyzable.rb', line 39

def self.timeout_audit_run
    Timeout.run
end