File: liferay.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 (78 lines) | stat: -rw-r--r-- 2,014 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
##
# 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
##
# Version 0.3 #
# Update version detection and added cookie and javascript matches
##
# Version 0.2 #
# Update version detection and ghdb match
##
Plugin.define "Liferay" do
author "Brendan Coles <bcoles@gmail.com>" # 2010-06-13
version "0.3"
description "Liferay Portal is an enterprise web platform for building business solutions that deliver immediate results and long-term value. - homepage: http://www.liferay.com/"

# ShodanHQ results as at 2012-04-23 #
# 707 for COOKIE_SUPPORT GUEST_LANGUAGE_ID
# 650 for liferay-portal

# Google results as at 2012-04-23 #
# 208 for "Powered by Liferay Portal"
#  90 for "Powered by Liferay Portal" -site:liferay.com

# Dorks #
dorks [
'"Powered by Liferay Portal"'
]

# Examples #
examples %w|
91.98.133.134
151.1.163.13
195.76.55.107
184.107.254.205
164.177.150.124
195.198.8.151
81.169.131.61
81.22.160.185
213.9.109.100
2.116.11.71
www.liferay.com
www.optionsnet.gr/c/portal/
www.liferayportal.se
www.intalio.com/company/
www.monator.com
www.mcnolia.com/web/
webtown.hu
sareweb.net
portletfaces.org
innova4j.com:8080/web/guest/
vm-20.liferay.com/community/
https://www.jivix.nl/
|

# Matches #
matches [

# Powered by text
{ :text=>"Powered by Liferay Portal", :certainty=>10 },

# JavaScript # Liferay.Util.addInputFocus()
{ :text=>"<![CDATA[*/Liferay.Util.addInputFocus();/*]]>*" },

# HTTP Header # Liferay-Portal # Edition Detection
{ :search=>"headers[liferay-portal]", :string=>/^Liferay Portal (.+ Edition) (.+)$/ },

# HTTP Header # Liferay-Portal # Version Detection
{ :search=>"headers[liferay-portal]", :version=>/^Liferay Portal (.+ Edition) (.+)$/, :offset=>1 },

# HTTP Header # Set-Cookie # GUEST_LANGUAGE_ID
{ :search=>"headers[set-cookie]", :regexp=>/GUEST_LANGUAGE_ID=[a-z]{2,3}_[A-Z]{2,3};/ },

]

end