Sha256: 4d9cbfb73028bec9ce53c957967e7a25305c4c5da677559b3f5b166edfe2cdeb

Contents?: true

Size: 686 Bytes

Versions: 30

Compression:

Stored size: 686 Bytes

Contents

require 'sinatra'

get '/vulnerable' do
    params.values.to_s
end

get '/' do
    html = ''

    50.times do |i|
        html << <<-EOHTML
        <a href='/#{i}'>Stuff</a>
        EOHTML
    end
    html
end

get %r{^/(\d+)$} do |id|
    html = ''

    10.times do |i|
        html << <<-EOHTML
        <a href='/#{id}/#{i}'>Stuff</a>
        EOHTML
    end
    html
end

get %r{^/(\d+)/(\d+)$} do |id, id2|
    html = ''

    50.times do |i|
        html << <<-EOHTML
        <a href='/#{id}/#{id2}/#{id}'>Stuff</a>
        EOHTML
    end
    html
end

get %r{^/(\d+)/(\d+)/(\d+)$} do |id, id2, id3|
    "<a href='/vulnerable?#{id2}_vulnerable_#{id3}=stuff#{id}'>Vulnerable</a>"
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.6.1.2 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.6.1.1 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.6.1 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.6.0 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.5.1 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.5 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.4 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.3.2 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.3.1 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.3 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.2.1 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.2 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.1 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.0.6 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.0.5 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.0.4 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.0.3 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.0.2 spec/support/servers/arachni/rpc/server/framework_multi.rb
arachni-1.0.1 spec/support/servers/arachni/rpc/server/framework_multi.rb