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 "Harris-NetVX" do 8author "Brendan Coles <bcoles@gmail.com>" # 2011-03-30 9version "0.1" 10description "NetVX combines standards-compliant audio, video and data networking interfaces to integrate with any video plant" 11website "http://www.broadcast.harris.com/productsandsolutions/NetworkingEncoding/NetVX/default.asp" 12 13# ShodanHQ results as at 2011-03-30 # 14# 41 for harris.asp 15 16 17 18# Matches # 19matches [ 20 21# Powered by text 22{ :text=>'<a href="" onclick=\'window.open("http://www.goahead.com")\' title="Powered by the GoAhead Web Server.">' }, 23 24] 25 26# Passive # 27def passive 28 m=[] 29 30 # Model Detection # Title 31 if @headers["server"] =~ /^GoAhead-Webs$/ and @body =~ /<title>([^\s]+) Control<\/title>/ 32 m << { :model=>@body.scan(/<title>([^\s]+) Control<\/title>/) } 33 end 34 35 # Return passive matches 36 m 37end 38 39end 40 41