Sha256: ef36f88a018ea45db9454205f4bbe21ce858ccf6523211733a444bb111d07363

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 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.4 # 2013-04-16
# Changed homepage
#
# Version 0.3 # 2011-01-29 # Brendan Coles <bcoles@gmail.com>
# Updated regex
##
# Version 0.2
# removed :name & :probability
##
WhatWeb::Plugin.define "GoAhead-Webs" do
  @author = "Andrew Horton"
  @version = "0.4"
  @description = "Opensource, embedded webserver"
  @website = "http://embedthis.com/products/goahead/"

  # ShodanHQ results as at 2011-01-29 #
  # 453222 for GoAhead Webs

  # Matches #
  @matches = [

    { text: "response_code_begin ERIC_RESPONSE_OK response_code_end response_msg_begin  response_msg_end" }

  ]

  # Passive #
  def passive(target)
    m = []

    # HTTP Server header
    m << { name: "HTTP Server header" } if target.headers['server'] =~ /GoAhead-Webs/i

    # Return passive matches
    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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