Sha256: 0f93279f3039c64abd25295a414f40ce3e43aa776e8d9617d0def4a7d0e4bf77
Contents?: true
Size: 1.75 KB
Versions: 6
Compression:
Stored size: 1.75 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 "Toshiba-Cable-Modem" do @author = "Brendan Coles <bcoles@gmail.com>" # 2011-03-07 @version = "0.1" @description = "Toshiba Cable Modem" @website = "http://www.toshiba.com/" # ShodanHQ results as at 2011-03-07 # # 5,583 for Document follows PCX3000 # 5,583 for Document follows PCX # All results are from Japan # Matches # @matches = [ # Default Title { text: "<TITLE>Toshiba Cable Modem PCX3000</TITLE>", certainty: 75 }, # Default logo { url: "/pcx3k.gif", md5: "b70118d64dc5a404f82467bbf3858524", model: "PCX3000" }, # Page Heading # /up.html { url: "/up.html", text: "<BR><FONT color=navy size=5>Toshiba Cable Modem Diagnostics Page </FONT>" }, # CMTS MAC Detection # /up.html { url: "/up.html", string: /<STRONG>CMTS MAC Address:<FONT color="#980040">([^<]+)<\/FONT><\/STRONG>/ }, # Model Detection # /up.html { url: "/up.html", model: /<STRONG> MODEL[\r\n]*<FONT COLOR="#980040">([^\s^<]+)<\/FONT>/ }, # Firmware Version Detection # /up.html { url: "/up.html", firmware: /; HW_REV[\r\n]*<FONT COLOR="#980040">([^\s^<]+)<\/FONT>/ }, # Software Version Detection # /up.html { url: "/up.html", version: /; SW_REV[\r\n]*<FONT COLOR="#980040">([^\s^<]+)<\/FONT>/ }, ] # Passive # def passive(target) m = [] # Server: PCX3000/1.0 m << { model: "PCX3000" } if target.headers["server"] =~ /^PCX3000\/[\d\.]{1,5}/ # Return passive matches m end end
Version data entries
6 entries across 6 versions & 1 rubygems