/plugins/Proliphix-Thermostat.rb

https://github.com/rmillet42/WhatWeb · Ruby · 63 lines · 38 code · 11 blank · 14 comment · 1 complexity · d4dfb6dc3e92ba442fb6b8699dfc0727 MD5 · raw file

  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. ##
  7. Plugin.define "Proliphix-Thermostat" do
  8. author "Brendan Coles <bcoles@gmail.com>" # 2011-03-09
  9. version "0.1"
  10. description "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. - Homepage: http://www.proliphix.com/"
  11. # Google results as at 2011-03-09 #
  12. # 26 for intitle:"Thermostat" intitle:"Status & Control"
  13. # Dorks #
  14. dorks [
  15. 'intitle:"Thermostat" intitle:"Status & Control"'
  16. ]
  17. # Examples #
  18. examples %w|
  19. 128.174.27.99
  20. lakeandlogs.com
  21. 216.17.37.215
  22. peternunes.net:8082
  23. 38.107.98.75
  24. 96.57.254.211
  25. 75.127.241.50:8282
  26. 24.189.14.195:8282
  27. 66.108.147.235:8282
  28. www.tannerbryant.com
  29. 204.14.103.124:81
  30. delta-jam.com
  31. 68.162.223.154:8002
  32. 68.112.86.194:1027
  33. fieldfresh.net
  34. 205.155.167.20
  35. www.poolcontroller.com:1068
  36. kardash.org:81
  37. toybox.viewnetcam.com:6969
  38. octagon.homeip.net:8071
  39. thecabin.thruhere.net:8150
  40. lcgcam5.remotecam.com
  41. 96.56.66.155
  42. |
  43. # Matches #
  44. matches [
  45. # Model Detection
  46. { :model=>/<script type="text\/javascript">[\r\n]*printStatusHead\(adStat,[\s]*"([^"]{4,5})","[a-z]?"\)[\r\n]*bodyStart\("status.shtml", "settings"\)/ },
  47. # JavaScript Link
  48. { :text=>"printFSC(\"\", linkbuttonGet('location.href', 'Refresh'), \"<input type=submit name='submit' value='Submit'>\")" },
  49. # Default Title
  50. { :certainty=>25, :text=>" - Status &amp; Control</title>" },
  51. ]
  52. end