Sha256: 6330118c14382b9a6d6ec9c2ca142caf45ed7729b48024bc54740476edcdb03c

Contents?: true

Size: 528 Bytes

Versions: 21

Compression:

Stored size: 528 Bytes

Contents

Factory.define :data_flow_data do
    {
        function:               Factory[:called_function],
        object:                 '[object DOMWindow]',
        tainted_value:          Factory[:called_function].arguments.first,
        tainted_argument_index: 0,
        taint:                  Factory[:called_function].arguments.first,
        trace:                  [ Factory[:frame] ]
    }
end

Factory.define :data_flow do
    Arachni::Browser::Javascript::TaintTracer::Sink::DataFlow.new( Factory[:data_flow_data] )
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.6.1.2 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.6.1.1 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.6.1 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.6.0 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.5.1 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.5 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.4 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.3.2 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.3.1 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.3 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.2.1 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.2 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.1 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.0.6 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.0.5 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.0.4 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.0.3 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.0.2 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb
arachni-1.0.1 spec/support/factories/browser/javascript/taint_tracer/sink/data_flow.rb