Sha256: d90bd3a68dd91aa994c18181f1247cab6cf28e6f0182564db22930095be63519

Contents?: true

Size: 988 Bytes

Versions: 6

Compression:

Stored size: 988 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 "GrandTec-X-Guard" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-08-05
  @version = "0.1"
  @description = "GrandTec X-Guard PC-based surveillance system"
  @website = "http://store.grandtec.com/secsur.html"

  # ShodanHQ results as at 2011-08-05 #
  # 25 for WalkGuard

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

    # HTTP Server Header
    if /^WalkGuard web server$/.match?(target.headers["server"])
      m << { name: "HTTP Server Header" }
    end

    # WWW-Authenticate Header
    if /Basic realm="WalkGuard web server"/.match?(target.headers["www-authenticate"])
      m << { name: "WWW-Authenticate Header" }
    end

    # 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/grandtec-x-guard.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/grandtec-x-guard.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/grandtec-x-guard.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/grandtec-x-guard.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/grandtec-x-guard.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/grandtec-x-guard.rb