Sha256: 00b230d6f7c80def521a5a825f092c5432fd9891f27c75ea794ad47a46c3c958

Contents?: true

Size: 746 Bytes

Versions: 6

Compression:

Stored size: 746 Bytes

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
##
WhatWeb::Plugin.define "WindWeb" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-10-26
  @version = "0.1"
  @description = "WindWeb Webserver"

  # About 21746 ShodanHQ results for "server: WindWeb" @ 2010-10-26

  # HTTP Header
  def passive(target)
    m = []

    # Server
    m << { version: target.headers["server"].to_s.scan(/^[\s]*WindWeb\/([^\s^\r^\n]+)/i).flatten } if target.headers["server"].to_s =~ /^[\s]*WindWeb\/([^\s^\r^\n]+)/i

    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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