# 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 "3COM-NBX" do @author = "Brendan Coles " # 2011-08-09 @version = "0.1" @description = "3COM NBX phone system. The NBX NetSet utility is a web interface in which you configure and manage the NBX system. NBX systems present the NBX NetSet utility through an embedded web server that is integrated in system software." @website = "http://inpath.com/products/3com-nbx.html" # More Info # # http://www.nbxnetset.com/ # ShodanHQ results as at 2011-08-09 # # 827 for Virata-EmWeb Alternates # 823 for Virata-EmWeb Alternates TCN # Google results as at 2011-08-09 # # 7 for intitle:"NBX NetSet" +Version +Created # Dorks # @dorks = [ 'intitle:"NBX NetSet" "Version" "Created"' ] # Matches # @matches = [ # Title { text: 'NBX NetSet' }, { text: 'NBX NetSet' }, # HTML Comment { text: '' }, { text: '' }, # Version Detection # META HTTP-EQUIV="sysObjectID" { version: // }, # span class="splashTitleIPTelephony" { text: ' 3Com® IP Telephony Solution' }, # Firmware Version Detection { firmware: /[\s]+Version: ([^<]+)
[\s]+Created: / }, { firmware: /
[\s]+Version:( )?([^<]+)
/, offset: 1 }, # Model Detection { model: /NBX®<\/span><\/SUP><\/span>[\s]+( )?([^<]+)<\/span>/, offset: 1 }, ] # Passive # def passive(target) m = [] # HTTP Headers if target.headers["server"] =~ /^Virata-EmWeb\/R6_0_3$/ && !target.headers["alternates"].nil? && !target.headers["tcn"].nil? m << { name: "HTTP Headers" } end # Return passive matches m end end