Sha256: c83177418b86b77389265ea95a7bbb82e3ccb8dc21bc081dec3af30666a63468

Contents?: true

Size: 812 Bytes

Versions: 4

Compression:

Stored size: 812 Bytes

Contents

require_relative '../../../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'
            {
                '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

4 entries across 4 versions & 1 rubygems

Version Path
arachni-0.4.1.3 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.1.2 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.1.1 spec/plugins/meta/remedies/timing_attacks_spec.rb
arachni-0.4.1 spec/plugins/meta/remedies/timing_attacks_spec.rb