1## 2# This file is part of WhatWeb and may be subject to 3# redistribution and commercial restrictions. Please see the WhatWeb 4# web site for more information on licensing and terms of use. 5# http://www.morningstarsecurity.com/research/whatweb 6## 7Plugin.define "Intermec-EasyLAN" do 8author "Brendan Coles <bcoles@gmail.com>" # 2011-03-10 9version "0.1" 10description "Intermec EasyLAN web interface" 11website "http://www.intermec.com" 12 13# ShodanHQ results as at 2011-03-10 # 14# 200 for XCD WebAdmin 15 16 17 18# Matches # 19matches [ 20 21# Logo 22{ :url=>"/imec.jpg", :md5=>"d0204544f2a9ec61184efb62d0b51515" }, 23 24] 25 26# Passive # 27def passive 28 m=[] 29 30 # HTTP Server Header 31 if @headers["server"] =~ /^XCD WebAdmin$/ and @body =~ /Server Access Password: <\/B><INPUT TYPE="PASSWORD" SIZE="16" MAXLENGTH="16" NAME="ZZ_pwd">/ and @body =~ /<HTML><HEAD><TITLE>EasyLAN Web<\/TITLE><\/HEAD>/ 32 33 # Model Detection 34 m << { :model=>@body.scan(/<TD><FONT COLOR="BLACK" SIZE="5">Intermec EasyLAN ([a-z\d]{3,4})<\/FONT><\/TD>/) } if @body =~ /<TD><FONT COLOR="BLACK" SIZE="5">Intermec EasyLAN ([a-z\d]{3,4})<\/FONT><\/TD>/ 35 36 # Model Detection # Pony 37 m << { :model=>"Pony" } if @body =~ /<TD><FONT COLOR="BLACK" SIZE="5">XCD Pony<\/FONT><\/TD>/ 38 39 end 40 41 # Return passive matches 42 m 43end 44 45end 46 47 48