Sha256: 10bdd5802a9a6cf5750ce4a9f55955e4c55a6ffffe68b551dce162f8f2fc351f

Contents?: true

Size: 599 Bytes

Versions: 35

Compression:

Stored size: 599 Bytes

Contents

require 'sinatra'
require 'sinatra/contrib'

NUMBERS = {
    amex:         378282246310005,
    amex_copr:    378734493671000,
    oz_bank_card: 5610591081018250,
    dinners:      30569309025904,
    discover:     6011111111111117,
    jcb:          3530111333300000,
    master:       5555555555554444,
    visa:         4111111111111111,
    pbs:          76009244561,
    paymentech:   6331101999990016
}

NUMBERS.each do |type, number|
    get "/#{type}" do
        number.to_s
    end
end

get '/' do
    NUMBERS.keys.map do |type|
        "<a href=\"#{type}\">#{type}</a> "
    end.join
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
arachni-1.0 spec/support/servers/checks/passive/grep/credit_card.rb
arachni-0.4.7 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.6 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.5.2 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.5.1 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.5 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.4 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.3.2 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.3.1 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.3 spec/support/servers/modules/recon/grep/credit_card.rb
arachni-0.4.2 spec/servers/modules/recon/grep/credit_card.rb
arachni-0.4.1.3 spec/servers/modules/recon/grep/credit_card.rb
arachni-0.4.1.2 spec/servers/modules/recon/grep/credit_card.rb
arachni-0.4.1.1 spec/servers/modules/recon/grep/credit_card.rb
arachni-0.4.1 spec/servers/modules/recon/grep/credit_card.rb