Sha256: 1d52b42998c7e84f5a33f27e33aab5f03d091d84bb436ba8668a8f85537dbfa4

Contents?: true

Size: 1.16 KB

Versions: 6

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
WhatWeb::Plugin.define "Harris-NetVX" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-03-30
  @version = "0.1"
  @description = "NetVX combines standards-compliant audio, video and data networking interfaces to integrate with any video plant"
  @website = "http://www.broadcast.harris.com/productsandsolutions/NetworkingEncoding/NetVX/default.asp"

  # ShodanHQ results as at 2011-03-30 #
  # 41 for harris.asp

  # Matches #
  @matches = [

    # Powered by text
    { text: '<a href="" onclick=\'window.open("http://www.goahead.com")\' title="Powered by the GoAhead Web Server.">' },

  ]

  # Passive #
  def passive(target)
    m = []

    # Model Detection # Title
    if target.headers["server"] =~ /^GoAhead-Webs$/ && target.body =~ /<title>([^\s]+) Control<\/title>/
      m << { model: target.body.scan(/<title>([^\s]+) Control<\/title>/) }
    end

    # Return passive matches
    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/harris-netvx.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/harris-netvx.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/harris-netvx.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/harris-netvx.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/harris-netvx.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/harris-netvx.rb