metasploit-framework/data/msfweb/vendor/gems/rack-1.0.1/example/protectedlobster.ru

9 lines
160 B
Ruby

require 'rack/lobster'
use Rack::ShowExceptions
use Rack::Auth::Basic, "Lobster 2.0" do |username, password|
'secret' == password
end
run Rack::Lobster.new