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##
7# Version 0.2 # 2016-04-21 # Andrew Horton
8# Moved patterns from passive function to matches[]
9# added website parameter
10##
11Plugin.define "MacHTTP" do
12author "Brendan Coles <bcoles@gmail.com>" # 2011-06-04
13version "0.2"
14description "MacHTTP is a webserver designed to run on Mac OS versions 7.x through 9.x. It was written by software developer Chuck Shotton and was originally shareware; it is now available in source code form from SourceForge.net under the Perl Artistic License. It is still used on some older Macintosh hardware. It was later commercialized as WebSTAR, sold originally by StarNine and later bought by Quarterdeck Software. - More Info: http://en.wikipedia.org/wiki/MacHTTP"
15website "http://www.machttp.org/downloads/machttp/"
16
17# ShodanHQ results as at 2011-06-04 #
18# 40 for machttp
19
20matches [
21	# Version Detection # HTTP Server Header
22	{ :version=>/^MacHTTP\/([^\s]+)$/, :search=>"headers[server]" },
23
24	# HTTP Server Header
25	{ :regexp=>/^MacHTTP$/, :search=>"headers[server]" },
26
27]
28
29end
30
31