##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
Plugin.define "Mongrel" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-09-15
version "0.1"
description "Mongrel is an open-source HTTP library and web server written in Ruby. - Homepage: http://rubyforge.org/projects/mongrel/"

# ShodanHQ results as at 2011-03-13 #
# 5,815 for Mongrel



# Matches #
matches [

# Version Detection # HTTP Server Header
{ :search=>"headers[server]", :version=>/^Mongrel ([\d][^\s]+)/ },

]

end

