Class: Arachni::Parser::Element::Header
- Inherits:
-
Base
- Object
- Element::Auditable
- Base
- Arachni::Parser::Element::Header
- Defined in:
- lib/parser/elements.rb
Instance Attribute Summary
Attributes inherited from Base
#action, #auditable, #method, #raw, #url
Attributes inherited from Element::Auditable
Instance Method Summary collapse
- #http_request(url, opts) ⇒ Object
-
#initialize(url, raw = {}) ⇒ Header
constructor
A new instance of Header.
- #simple ⇒ Object
- #type ⇒ Object
Methods inherited from Base
Methods inherited from Element::Auditable
#audit, #auditor, #debug?, #get_status_str, #info, #injection_sets, #print_debug, #print_error, #print_status, reset, #skip?, #submit
Methods included from Module::Utilities
#exception_jail, #get_path, #normalize_url, #read_file, #seed
Constructor Details
#initialize(url, raw = {}) ⇒ Header
Returns a new instance of Header.
270 271 272 273 274 275 276 277 |
# File 'lib/parser/elements.rb', line 270 def initialize( url, raw = {} ) super( url, raw ) @action = @url @method = 'header' @auditable = @raw end |