Sha256: 2b745fc3ddaa67f32a580303f0c2823d6d910d9809872bf571e53c7b2aa785c1

Contents?: true

Size: 939 Bytes

Versions: 6

Compression:

Stored size: 939 Bytes

Contents

# frozen_string_literal: true

##
# 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
##
WhatWeb::Plugin.define "thin" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-03-13
  @version = "0.1"
  @description = "Thin is a Ruby web server that glues together 3 of the best Ruby libraries in web history: the Mongrel parser, Event Machine, and Rack"
  @website = "http://code.macournoyer.com/thin/"

  # ShodanHQ results as at 2012-03-13 #
  # 86 for thin web server

  # Matches #
  @matches = [

    # HTTP Server Header # Version Detection
    { search: "headers[server]", version: /^thin ([^\s]+) codename (.+)$/ },

    # HTTP Server Header # Server Codename
    { search: "headers[server]", string: /^thin [^\s]+ (codename .+)$/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/thin.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/thin.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/thin.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/thin.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/thin.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/thin.rb