Sha256: fe1e64c6077b23d2e1e503482f92102bda7f069c532d5ceed0c44aefaf728f1a
Contents?: true
Size: 1.43 KB
Versions: 6
Compression:
Stored size: 1.43 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 "IB-Lite" do @author = "Brendan Coles <bcoles@gmail.com>" # 2011-09-23 @version = "0.1" @description = "ComAp IB-Lite - Internet / Ethernet Module including Web Server - Plug-in communication module for IL-NT, IC-NT, IA-NT and ID-Lite controllers and their clones." @website = "http://www.comap.cz/products/detail/ib-lite/" # Google results as at 2011-09-23 # # 2 for "IB-Lite" "Firmware version" "Bootloader version" # Dorks # @dorks = [ '"IB-Lite" "Firmware version" "Bootloader version"' ] # Matches # @matches = [ { text: '<tr class="w_r"><td class="w_n">Access code</td><td width="140" class="w_v"><input id="psw_id" type="password" maxLength="15" size="20" name="q" value=""></td></tr>' }, ] # Passive # def passive(target) m = [] # Firmware / Bootloader Detection if target.body =~ /<p class="v">Firmware version ([^&^\s^<]+) (Bootloader) version ([^&^\s^<]+) [^<]*© ComAp ([\d]{1,2}\.[\d]{1,2}\.[\d]{4})<\/p>/ m << { firmware: $1.to_s } m << { string: "#{$2}/#{$3}" } end # Return passive matches m end end
Version data entries
6 entries across 6 versions & 1 rubygems