Module: Arachni::Element::Form::Capabilities::Auditable
- Includes:
- Capabilities::Auditable
- Defined in:
- lib/arachni/element/form/capabilities/auditable.rb
Overview
Extends Capabilities::Auditable with Arachni::Element::Form-specific functionality.
Constant Summary
Constants included from Capabilities::Auditable
Capabilities::Auditable::OPTIONS
Constants included from Capabilities::Mutable
Capabilities::Mutable::EXTRA_NAME, Capabilities::Mutable::FUZZ_NAME, Capabilities::Mutable::FUZZ_NAME_VALUE, Capabilities::Mutable::MUTATION_OPTIONS
Constants included from Capabilities::Inputtable
Capabilities::Inputtable::INPUTTABLE_CACHE
Instance Attribute Summary
Attributes included from Capabilities::Auditable
Attributes included from Capabilities::WithAuditor
Attributes included from Capabilities::Mutable
#affected_input_name, #format, #seed
Attributes included from Capabilities::Inputtable
Instance Method Summary collapse
-
#audit_id(payload = nil) ⇒ String
ID string used to identify the Capabilities::Auditable#audit of ‘self` by its Capabilities::WithAuditor#auditor.
- #audit_status_message ⇒ Object
Methods included from Capabilities::Auditable
#audit, #audit_status_message_action, #audit_verbose_message, #coverage_hash, #coverage_id, #dup, #initialize, #matches_skip_like_blocks?, #reset, reset, #skip?, skip_like
Methods included from Capabilities::WithAuditor
#dup, #marshal_dump, #orphan?, #prepare_for_report, #remove_auditor
Methods included from Capabilities::Mutable
#affected_input_value, #affected_input_value=, #dup, #each_mutation, #immutables, #inspect, #mutation?, #mutations, #reset, #switch_method, #to_h, #to_rpc_data
Methods included from Capabilities::Submittable
#action, #action=, #dup, #http, #http_request, #id, #initialize, #method, #method=, #platforms, #submit, #to_h
Methods included from Capabilities::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, #bytes_to_kilobytes, #bytes_to_megabytes, #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, #full_and_absolute_url?, #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?, #regexp_array_match, #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
Instance Method Details
#audit_id(payload = nil) ⇒ String
Returns ID string used to identify the Capabilities::Auditable#audit of ‘self` by its Capabilities::WithAuditor#auditor.
38 39 40 |
# File 'lib/arachni/element/form/capabilities/auditable.rb', line 38 def audit_id( payload = nil ) force_train? ? id : super( payload ) end |
#audit_status_message ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/arachni/element/form/capabilities/auditable.rb', line 20 def override = nil if mutation_with_original_values? override = 'original' elsif mutation_with_sample_values? override = 'sample' end if override "Submitting form with #{override} values for #{inputs.keys.join(', ')}" << " at '#{@action}'." else super end end |