Sha256: 061ce3485010a830db4c1b12b25cdd0e9d5c53981210413e8132929b807f1f65

Contents?: true

Size: 1.4 KB

Versions: 6

Compression:

Stored size: 1.4 KB

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
##
# Version 0.2 # 2016-04-20 # Andrew Horton
# Moved patterns from passive function to matches[]
##
WhatWeb::Plugin.define "GoServe" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-05-31
  @version = "0.2"
  @description = "GoServe - A Web and Gopher Server for OS/2. SRE-http is a highly configurable http server which requires GoServe"
  @website = "http://www2.hursley.ibm.com/goserve"

  # More Info #
  # 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/
  # ShodanHQ results as at 2011-05-31 #
  # 32 for GoServe
  # 14 for GoServe -OS

  @matches = [
    # HTTP Server Header
    { regexp: /^GoServe/, search: "headers[server]" },

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

    # Version Detection
    { version: /^GoServe for OS\/2, version ([^\s^;]+); SRE-http [\d\.]+$/, search: "headers[server]" },

    # Module Detection
    { module: /^GoServe for OS\/2, version [^\s^;]+; (SRE-http [\d\.]+)$/, search: "headers[server]" },
  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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