1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
##
# 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
##
Plugin.define "Advantech-WebAccess" do
author "Brendan Coles <bcoles@gmail.com>" # 2013-01-09
version "0.1"
description "Advantech WebAccess HMI/SCADA software"
website "http://webaccess.advantech.com/"
# ShodanHQ results as at 2013-01-09 #
# 220 for broadWeb/bwRoot.asp
# 12 for broadWeb/bwviewpg.asp
# Google results as at 2013-01-09 #
# 16 for inurl:"broadWeb/bwconfig.asp"
# Dorks #
dorks [
'inurl:"broadWeb/bwconfig.asp"'
]
# Matches #
matches [
# HTML Comment
{ :text=>'<html><!-- #BeginTemplate "/Templates/bw_templete1.dwt" -->' },
# Plugin download link
{ :text=>'<a href="/broadweb/WebAccessClientSetup.exe">' },
# / # Location
{ :search=>"headers[location]", :regexp=>/\.\/broadWeb\/bwviewpg\.asp\?proj=/ },
# / # Location # Username Detection
{ :search=>"headers[location]", :account=>/\.\/broadWeb\/bwRoot\.asp\?username=([^\s]+)/ },
# Landing Page # Version Detection
{ :version=>/<div style="position:relative;top:15;width:870px; height:15px">\s+<font class=e5>[^:^<]+ : ([^\s]+)<\/font>/ },
]
end
|