PageRenderTime 39ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/plugins/my-webcamXP-server.rb

https://github.com/eliasdorneles/WhatWeb
Ruby | 113 lines | 66 code | 19 blank | 28 comment | 0 complexity | c6a16fb6da5f5be1d63e5c958ded731c MD5 | raw file
Possible License(s): GPL-2.0
  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. # Version 0.2 # 2011-02-19 #
  8. # Updated version detection
  9. ##
  10. Plugin.define "My-WebCamXP-Server" do
  11. author "Brendan Coles <bcoles@gmail.com>" # 2010-07-24
  12. version "0.2"
  13. description "WebCamXP web interface - homepage: http://www.webcamxp.com"
  14. # Google results as at 2010-07-24 #
  15. # 332 Google results for "powered by webcamXP"
  16. # 56 Google results for intitle:"my webcamXP server!" inurl:":8080"
  17. # ShodanHQ results as at 2010-07-24 #
  18. # About 94 Shodan results for Server:webcamXP
  19. # Dorks #
  20. dorks [
  21. '"powered by webcamXP"',
  22. 'intitle:"my webcamXP server!" inurl:":8080"'
  23. ]
  24. # Examples #
  25. examples %w|
  26. angelpage.dyndns.tv:8080
  27. 212.91.164.28:8080
  28. ka7bgr.dyndns.org:8080
  29. 65.40.115.225:8080
  30. 66.93.98.195:8080
  31. 201.95.124.93:8080
  32. 184.74.128.164:8080
  33. ruff-cuts.dyndns.org:8080
  34. 75.132.23.101:8080
  35. pogona.dyn-o-saur.com:8080
  36. 86.89.114.160:8080
  37. 201.26.75.197:8080
  38. skyhongkong.com
  39. erattori.tripod.com
  40. webcam.hobnobpet.com
  41. 62.147.155.139:8080
  42. www.talla3.com:8088
  43. www.miele-family.com/weather/
  44. www.qsl.net/g0ohk/gallery/
  45. these2boots.com/webcamCHAT.htm
  46. collins-nz.homedns.org:8080
  47. www.bredenbeek.net
  48. 70.80.195.110:8000
  49. 85.114.190.10:8081
  50. 122.154.103.2:8000
  51. 212.26.215.92:9090
  52. 65.40.115.225:8080
  53. 82.30.169.41:8080
  54. 72.241.200.185:8080
  55. www.wire.boom.ru
  56. 82.89.210.115:8080
  57. 212.91.164.28:8080
  58. www.justicecamera.ws43.com
  59. 184.74.128.164:8085
  60. www.nicholsforever.com:7578
  61. 71.49.17.48:8050
  62. 72.151.246.109:8080
  63. 68.83.85.251:8080
  64. server1.richardselectronics.net:8185
  65. 162.39.5.129:8081
  66. 168.243.148.172:8080
  67. live.pravoslav.tv:8080
  68. |
  69. # Matches #
  70. matches [
  71. # Default Title
  72. { :text=>'<html><head><title>my webcamXP server!</title>' },
  73. # Default h1 Heading HTML
  74. { :text=>' <h1><span>webcamXP 5</span></h1>' },
  75. # Default JavaScript
  76. { :text=>"newWindow = window.open(camstr, winstr, 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + width + ',height=' + height);" },
  77. # Default Logo HTML
  78. { :text=>'<br><br><table border="1" cellpadding="0" cellspacing="0" bordercolor="#579A48"><tr><td><a href="http://www.webcamXP.com"><img src="http://www.darkwet.net/banners/webcamxp2.gif" width="88" height="31" border="0"></a>' },
  79. # 401 unauthorized error page
  80. { :text=>'<html><head><title>webcamXP :: unauthorized access</title></head>' },
  81. # Version Detection # Meta Generator
  82. { :version=>/<meta name="generator" content="webcamXP [^"]{0,15}v([\d\.]+)">/ },
  83. # Version Detection # Link HTML
  84. { :version=>/mXP.com" target="_blank">webcamXP 5<\/a> v([\d\.]+)/ },
  85. # Version Detection # Powered by text
  86. { :version=>/powered by <a href="http:\/\/www.webcamXP.com" target="_blank">webcamXP<\/a>[\ \d]* v([\d\.a-z\ ]+)<\/div>/ },
  87. # Version Detection # Powered by text
  88. { :version=>/<\/td><\/tr><\/table><br>powered by webcamXP PRO[\ \d]* v([\d\.]+)<br><br><br><\/font><\/center><\/body><\/html>/ },
  89. # Version Detection # Powered by text
  90. { :version=>/ powered by <a href="http:\/\/www.webcamxp.com" title="www.webcamxp.com">webcamxp 5<\/a> v([\d\.]+)/ },
  91. # webcamXP 5 # 401 unauthorized error page
  92. { :version=>/powered by <a href="http:\/\/www.webcamXP.com" target="_blank">webcamXP 5<\/a> v([\d\.]+)<\/a>/ },
  93. ]
  94. end