Sha256: 572edb5c9d00094406db8309eba6bc4eed2743864f1841db90bf9e1c9feb085b

Contents?: true

Size: 936 Bytes

Versions: 9

Compression:

Stored size: 936 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'plugin'

    before( :all ) do
        options.url = url
        options.audit :forms

        # this module uses the least amount of seeds, should save us some time
        framework.modules.load :os_cmd_injection_timing
    end

    def results
        framework.auditstore.issues.map.with_index do |issue, idx|
            next if issue.var != 'untrusted_input'

            issue.variations.map( &:verification ).uniq == [true]
            issue.variations.first.remarks[:meta_analysis].should be_true

            {
                'hash'   => issue.digest,
                'index'  => idx + 1,
                'url'    => issue.url,
                'name'   => issue.name,
                'var'    => issue.var,
                'elem'   => issue.elem,
                'method' => issue.method
            }
        end.compact
    end

    easy_test
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
arachni-0.4.7 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.6 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.5.2 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.5.1 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.5 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.4 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.3.2 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.3.1 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.3 spec/plugins/meta/remedies/timing_attacks_spec.rb