File: WebHare-Application-Portal.rb

package info (click to toggle)
whatweb 0.4.8~git20120606-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,956 kB
  • sloc: ruby: 53,738; sh: 577; makefile: 34
file content (43 lines) | stat: -rw-r--r-- 1,201 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
##
# 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 "WebHare-Application-Portal" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-03-14
version "0.1"
description "WebHare Application Portal - Enterprise Content Management - The flexible design of WebHare AP allows for complex web applications completely tailored to build support for an intranet or website as well as a separate product line. - Homepage: http://www.b-lex.nl/"

# ShodanHQ results as at 2011-03-14 #
# 47 for WebHare Application Portal
# All results are from the Netherlands

# Examples #
examples %w|
80.89.238.35
194.165.70.20
130.89.2.72
130.89.3.100
130.89.2.74
87.249.114.11
84.241.128.78
130.89.3.101
80.89.233.66
80.89.238.34
|

# Passive #
def passive
	m=[]

	# Version Detection # HTTP Server Header
	m << { :version=>@headers["server"].scan(/^WebHare Application Portal v([\d\.]+) Webserver$/) } if @headers["server"] =~ /^WebHare Application Portal v([\d\.]+) Webserver$/

	# Return passive matches
	m

end

end