Class: Arachni::BrowserCluster::Jobs::TaintTrace::EventTrigger
- Inherits:
-
ResourceExploration::EventTrigger
- Object
- Arachni::BrowserCluster::Job
- ResourceExploration
- ResourceExploration::EventTrigger
- Arachni::BrowserCluster::Jobs::TaintTrace::EventTrigger
- Defined in:
- lib/arachni/browser_cluster/jobs/taint_trace/event_trigger.rb,
lib/arachni/browser_cluster/jobs/taint_trace/event_trigger/result.rb
Overview
Defined Under Namespace
Classes: Result
Instance Attribute Summary
Attributes inherited from ResourceExploration::EventTrigger
Attributes inherited from ResourceExploration
Attributes inherited from Arachni::BrowserCluster::Job
Instance Method Summary collapse
Methods inherited from ResourceExploration
#clean_copy, #dup, #initialize
Methods inherited from Arachni::BrowserCluster::Job
#==, #clean_copy, #configure_and_run, #dup, #forward, #forward_as, #hash, #id, #initialize, #never_ending=, #never_ending?, #save_result
Constructor Details
This class inherits a constructor from Arachni::BrowserCluster::Jobs::ResourceExploration
Instance Method Details
#run ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/arachni/browser_cluster/jobs/taint_trace/event_trigger.rb', line 19 def run browser.javascript.taint = forwarder.taint browser.javascript.custom_code = forwarder.injector browser.on_new_page_with_sink { |page| save_result( page: page ) } super end |
#to_s ⇒ Object
28 29 30 31 32 |
# File 'lib/arachni/browser_cluster/jobs/taint_trace/event_trigger.rb', line 28 def to_s "#<#{self.class}:#{object_id} @resource=#{@resource} " + "@event=#{@event.inspect} @element=#{@element.inspect} " + "@forwarder=#{@forwarder}>" end |