Sha256: 5ee3416c8570a394ef0118d36aad0517079ed1ed7450231e4501797dd073bfb1

Contents?: true

Size: 444 Bytes

Versions: 35

Compression:

Stored size: 444 Bytes

Contents

require 'sinatra'
require 'sinatra/contrib'

get '/' do
    response.set_cookie( "cookie", {
        value:    "value",
        httponly: false
    })
    response.set_cookie( "cookie2", {
        value:    "value2",
        httponly: false
    })
    response.set_cookie( "cookie3", {
        value:    "value3",
        httponly: true
    })
    response.set_cookie( "cookie4", {
        value:    "value4",
        httponly: true
    })
end

Version data entries

35 entries across 35 versions & 1 rubygems

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