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# http://www.morningstarsecurity.com/research/whatweb
6##
7Plugin.define "XOOPS-Cube" do
8author "Brendan Coles <bcoles@gmail.com>" # 2011-12-11
9version "0.1"
10description "XOOPS Cube is an Open Source Web Application Platform"
11website "http://xoopscube.org/"
12
13# Google results as at 2011-12-11 #
14# 363 for "Powered by XOOPS Cube"
15#  98 for "Powered by XOOPS Cube" intitle:"XOOPS Cube Site :: Just Use it!"
16
17# Dorks #
18dorks [
19'"Powered by XOOPS Cube"'
20]
21
22
23
24# Matches #
25matches [
26
27# Title
28{ :certainty=>75, :text=>'<title>XOOPS Cube Site - Just Use it!</title>' },
29
30# HTML Comment
31{ :certainty=>75, :text=>'<!-- RMV: added module header -->' },
32
33# Meta Generator
34{ :text=>'<meta name="generator" content="XOOPS Cube" />' },
35
36# Meta Author
37{ :text=>'<meta name="author" content="XOOPS Cube" />' },
38
39# Powered by text # Version Detection
40{ :version=>/Powered by XOOPS Cube ([^\s^&]+)&copy; 200[01]-20[\d]{2} (<a href="http:\/\/xoopscube\.sourceforge\.net\/" target="_blank">)?XOOPS Cube Project/ },
41{ :version=>/Powered by <a href="http:\/\/xoopscube\.org\/" rel="external">XOOPS Cube<\/a> ([^\s]+) &copy; 200[01]-20[\d]{2} <a href="http:\/\/xoopscube\.sourceforge\.net\/" rel="external">XOOPS Cube Project<\/a><\/p>/ },
42
43]
44
45end
46
47