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

Includes:
Differential, Signature, Timeout
Included in:
Arachni::Element::Cookie, Form, Header, JSON, Link, LinkTemplate, NestedCookie, XML
Defined in:
lib/arachni/element/capabilities/analyzable.rb,
lib/arachni/element/capabilities/analyzable/timeout.rb,
lib/arachni/element/capabilities/analyzable/signature.rb,
lib/arachni/element/capabilities/analyzable/differential.rb

Overview

Author:

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

Defined Under Namespace

Modules: Differential, Signature, Timeout

Constant Summary

Constants included from Differential

Differential::DIFFERENTIAL_ALLOWED_STATUS, Differential::DIFFERENTIAL_OPTIONS

Constants included from Timeout

Timeout::TIMEOUT_OPTIONS

Constants included from Signature

Signature::FILE_SIGNATURES, Signature::FILE_SIGNATURES_PER_PLATFORM, Signature::LINE_BUFFER_SIZE, Signature::SIGNATURE_CACHE, Signature::SIGNATURE_OPTIONS, Signature::SOURCE_CODE_SIGNATURES_PER_PLATFORM

Instance Attribute Summary

Attributes included from Differential

#differential_analysis_options

Attributes included from Timeout

#timing_attack_remark_data

Class Method Summary collapse

Methods included from Differential

#differential_analysis, #dup, #to_rpc_data

Methods included from Timeout

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

Methods included from Signature

#get_matches, #signature_analysis

Class Method Details

.has_timeout_candidates?Boolean

Returns:

  • (Boolean)


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

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.



25
26
27
28
# File 'lib/arachni/element/capabilities/analyzable.rb', line 25

def Analyzable.reset
    Differential.reset
    Timeout.reset
end

.timeout_audit_runObject



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

def self.timeout_audit_run
    Timeout.run
end