Class: Arachni::Element::Capabilities::WithScope::Scope
- Inherits:
-
URI::Scope
- Object
- Scope
- URI::Scope
- Arachni::Element::Capabilities::WithScope::Scope
- Defined in:
- lib/arachni/element/capabilities/with_scope/scope.rb
Overview
Determines the scope status of elements based on their Base#action.
Defined Under Namespace
Classes: Error
Instance Method Summary collapse
-
#initialize(element) ⇒ Scope
constructor
A new instance of Scope.
-
#out? ⇒ Bool
‘true` if the URL out of the scan scope, `false` otherwise.
Methods inherited from URI::Scope
#auto_redundant?, #exclude?, #follow_protocol?, #in?, #in_domain?, #include?, #redundant?, #too_deep?
Methods inherited from Scope
Constructor Details
Instance Method Details
#out? ⇒ Bool
Note:
Will call URI::Scope#redundant?.
Returns ‘true` if the URL out of the scan scope, `false` otherwise. The determination is based on:
30 31 32 |
# File 'lib/arachni/element/capabilities/with_scope/scope.rb', line 30 def out? super || redundant? end |