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 "Proliphix-Thermostat" do
8author "Brendan Coles <bcoles@gmail.com>" # 2011-03-09
9version "0.1"
10description "Network thermostats specifically designed for Internet access and control. They provide the features and functions of a conventional programmable thermostat with an easy-to-use, browser-based interface that significantly simplifies HVAC programming and control."
11website "http://www.proliphix.com/"
12
13# Google results as at 2011-03-09 #
14# 26 for intitle:"Thermostat" intitle:"Status & Control"
15
16# Dorks #
17dorks [
18'intitle:"Thermostat" intitle:"Status & Control"'
19]
20
21
22
23# Matches #
24matches [
25
26# Model Detection
27{ :model=>/<script type="text\/javascript">[\r\n]*printStatusHead\(adStat,[\s]*"([^"]{4,5})","[a-z]?"\)[\r\n]*bodyStart\("status.shtml", "settings"\)/ },
28
29# JavaScript Link
30{ :text=>"printFSC(\"\", linkbuttonGet('location.href', 'Refresh'), \"<input type=submit name='submit' value='Submit'>\")" },
31
32# Default Title
33{ :certainty=>25, :text=>" - Status &amp; Control</title>" },
34
35]
36
37end
38
39
40