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##
7Plugin.define "GrandTec-X-Guard" do
8author "Brendan Coles <bcoles@gmail.com>" # 2011-08-05
9version "0.1"
10description "GrandTec X-Guard PC-based surveillance system"
11website "http://store.grandtec.com/secsur.html"
12
13# ShodanHQ results as at 2011-08-05 #
14# 25 for WalkGuard
15
16
17
18# Passive #
19def passive
20	m=[]
21
22	# HTTP Server Header
23	if @headers["server"] =~ /^WalkGuard web server$/
24		m << { :name=>"HTTP Server Header" }
25	end
26
27	# WWW-Authenticate Header
28	if @headers["www-authenticate"] =~ /Basic realm="WalkGuard web server"/
29		m << { :name=>"WWW-Authenticate Header" }
30	end
31
32	# Return passive matches
33	m
34end
35end
36
37