1##
2# This file is part of WhatWeb and may be subject to
3# redistribution and commercial restrictions. Please see the WhatWeb
4# web site for more information on licensing and terms of use.
5# http://www.morningstarsecurity.com/research/whatweb
6##
7Plugin.define "thttpd" do
8author "Brendan Coles <bcoles@gmail.com>" # 2011-05-31
9version "0.1"
10description "thttpd - tiny/turbo/throttling HTTP server - thttpd is a simple, small, portable, fast, and secure HTTP server."
11website "http://acme.com/software/thttpd/"
12
13# ShodanHQ results as at 2011-05-31 #
14# 103,691 for thttpd
15#   6,657 for thttpd -2
16
17
18
19# Matches #
20matches [
21
22# HTTP Server Header
23#{ :search=>"headers[server]", :regexp=>/^thttpd$/ },
24
25# Version Detection
26{ :search=>"headers[server]", :version=>/^thttpd\/([^\s]+)/ },
27
28]
29
30end
31
32