File: advantech-webaccess.rb

package info (click to toggle)
whatweb 0.6.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 23,948 kB
  • sloc: ruby: 43,493; sh: 213; makefile: 41
file content (51 lines) | stat: -rw-r--r-- 1,283 bytes parent folder | download
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
49
50
51
##
# 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.
# https://morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "Advantech-WebAccess"
authors [
  "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