Sha256: a504f5e76ea5bb0ffd813457ed4863d8231ef86f2b9c0b7e518e1f0c26fa3c20

Contents?: true

Size: 516 Bytes

Versions: 14

Compression:

Stored size: 516 Bytes

Contents

require 'sinatra'
set :logging, false

get '/' do
end

get '/crawl' do
    <<-EOHTML
    <a href='/sleep'></a>
    EOHTML
end

get '/sleep' do
    sleep 10
end

get '/restrict_to_elements' do
    <<-EOHTML
    <a href='/restrict_to_elements/to_audit?vulnerable_1=stuff1'>To audit</a>
    <a href='/restrict_to_elements/to_skip?vulnerable_2=stuff2'>To skip</a>
    EOHTML
end

get '/restrict_to_elements/to_audit' do
    params[:vulnerable_1]
end

get '/restrict_to_elements/to_skip' do
    params[:vulnerable_2]
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
arachni-0.4.7 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.6 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.5.2 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.5.1 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.5 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.4 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.3.2 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.3.1 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.3 spec/support/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.2 spec/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.1.3 spec/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.1.2 spec/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.1.1 spec/servers/arachni/rpc/server/framework_simple.rb
arachni-0.4.1 spec/servers/arachni/rpc/server/framework_simple.rb