Sha256: 4b1f719d5df140321057fe56a0d9749e3dd3c8570092180d1866ef74c7603a78

Contents?: true

Size: 873 Bytes

Versions: 6

Compression:

Stored size: 873 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 "thttpd" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-05-31
  @version = "0.1"
  @description = "thttpd - tiny/turbo/throttling HTTP server - thttpd is a simple, small, portable, fast, and secure HTTP server."
  @website = "http://acme.com/software/thttpd/"

  # ShodanHQ results as at 2011-05-31 #
  # 103,691 for thttpd
  #   6,657 for thttpd -2

  # Matches #
  @matches = [

    # HTTP Server Header
    # { :search=>"headers[server]", :regexp=>/^thttpd$/ },

    # Version Detection
    { search: "headers[server]", version: /^thttpd\/([^\s]+)/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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