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-20 # Andrew Horton
8# Moved patterns from passive function to matches[]
9##
10Plugin.define "GoServe" do
11author "Brendan Coles <bcoles@gmail.com>" # 2011-05-31
12version "0.2"
13description "GoServe - A Web and Gopher Server for OS/2. SRE-http is a highly configurable http server which requires GoServe"
14website "http://www2.hursley.ibm.com/goserve"
15
16# More Info #
17# SRE-http is a highly configurable http/1.1 web server for OS/2. To use the SRE-http web server, you will need GoServe (a free, IBM EWS, OS/2 Internet server). - Homepage: http://www.srehttp.org/server/
18# ShodanHQ results as at 2011-05-31 #
19# 32 for GoServe
20# 14 for GoServe -OS
21
22matches [
23	# HTTP Server Header
24	{ :regexp=>/^GoServe/, :search=>"headers[server]" },
25
26	# Version Detection
27	{ :version=>/^GoServe\/([^\s]+)$/, :search=>"headers[server]" },
28
29	# Version Detection
30	{ :version=>/^GoServe for OS\/2, version ([^\s^;]+); SRE-http [\d\.]+$/, :search=>"headers[server]" },
31
32	# Module Detection
33	{ :module=>/^GoServe for OS\/2, version [^\s^;]+; (SRE-http [\d\.]+)$/, :search=>"headers[server]" },
34]
35
36
37end
38
39