"Fossies" - the Fresh Open Source Software Archive 
Member "WhatWeb-0.5.5/plugins/advantech-webaccess.rb" (15 Jan 2021, 1287 Bytes) of package /linux/www/WhatWeb-0.5.5.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
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 # https://www.morningstarsecurity.com/research/whatweb
6 ##
7 Plugin.define do
8 name "Advantech-WebAccess"
9 authors [
10 "Brendan Coles <bcoles@gmail.com>", # 2013-01-09
11 ]
12 version "0.1"
13 description "Advantech WebAccess HMI/SCADA software"
14 website "http://webaccess.advantech.com/"
15
16 # ShodanHQ results as at 2013-01-09 #
17 # 220 for broadWeb/bwRoot.asp
18 # 12 for broadWeb/bwviewpg.asp
19
20 # Google results as at 2013-01-09 #
21 # 16 for inurl:"broadWeb/bwconfig.asp"
22
23 # Dorks #
24 dorks [
25 'inurl:"broadWeb/bwconfig.asp"'
26 ]
27
28
29
30 # Matches #
31 matches [
32
33 # HTML Comment
34 { :text=>'<html><!-- #BeginTemplate "/Templates/bw_templete1.dwt" -->' },
35
36 # Plugin download link
37 { :text=>'<a href="/broadweb/WebAccessClientSetup.exe">' },
38
39 # / # Location
40 { :search=>"headers[location]", :regexp=>/\.\/broadWeb\/bwviewpg\.asp\?proj=/ },
41
42 # / # Location # Username Detection
43 { :search=>"headers[location]", :account=>/\.\/broadWeb\/bwRoot\.asp\?username=([^\s]+)/ },
44
45 # Landing Page # Version Detection
46 { :version=>/<div style="position:relative;top:15;width:870px; height:15px">\s+<font class=e5>[^:^<]+ : ([^\s]+)<\/font>/ },
47
48 ]
49
50 end
51