Sha256: ddf33ecb3fd44fcf59560a539f09787752fc3aefc2c579458f5f32dfb8f6f2c2
Contents?: true
Size: 1.38 KB
Versions: 6
Compression:
Stored size: 1.38 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 "Intermec-EasyLAN" do @author = "Brendan Coles <bcoles@gmail.com>" # 2011-03-10 @version = "0.1" @description = "Intermec EasyLAN web interface" @website = "http://www.intermec.com" # ShodanHQ results as at 2011-03-10 # # 200 for XCD WebAdmin # Matches # @matches = [ # Logo { url: "/imec.jpg", md5: "d0204544f2a9ec61184efb62d0b51515" }, ] # Passive # def passive(target) m = [] # HTTP Server Header if target.headers["server"] =~ /^XCD WebAdmin$/ && target.body =~ /Server Access Password: <\/B><INPUT TYPE="PASSWORD" SIZE="16" MAXLENGTH="16" NAME="ZZ_pwd">/ && target.body =~ /<HTML><HEAD><TITLE>EasyLAN Web<\/TITLE><\/HEAD>/ # Model Detection m << { model: target.body.scan(/<TD><FONT COLOR="BLACK" SIZE="5">Intermec EasyLAN ([a-z\d]{3,4})<\/FONT><\/TD>/) } if target.body =~ /<TD><FONT COLOR="BLACK" SIZE="5">Intermec EasyLAN ([a-z\d]{3,4})<\/FONT><\/TD>/ # Model Detection # Pony m << { model: "Pony" } if target.body =~ /<TD><FONT COLOR="BLACK" SIZE="5">XCD Pony<\/FONT><\/TD>/ end # Return passive matches m end end
Version data entries
6 entries across 6 versions & 1 rubygems