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##
7# Version 0.2 # 2011-03-30 #
8# Updated regex
9##
10Plugin.define "Zimplit-CMS" do
11author "Brendan Coles <bcoles@gmail.com>" # 2010-10-11
12version "0.2"
13description "Zimplit CMS: The easiest Open Source Content Management System for small web- and minisites"
14website "http://www.zimplit.com/"
15
16# Google results as at 2010-10-11 #
17# 187 for "powered by Zimplit CMS"
18
19# Dorks #
20dorks [
21'"powered by Zimplit CMS"'
22]
23
24
25
26# Matches #
27matches [
28
29# Javascript
30{ :regexp=>/<script[^>]+src="http:\/\/(client\.zimplit|www\.zimplit|zimplit)\.(org|com)\/(users\/publicUser|editor)\/(jquery|ZimgZoomer|ZZMenu)\.js"[^>]*><\/script>/i },
31
32# Version Detection # Javascript
33{ :version=>/<script[^>]+src="http:\/\/(client\.zimplit|www\.zimplit|zimplit)\.(org|com)\/users\/publicUser_v([\d\._]+)\/(jquery|ZimgZoomer|ZZMenu)\.js"[^>]*><\/script>/i, :offset=>2 },
34
35# HTML Comment
36{ :text=>'<!-- YOU ARE ONLY ALLOWED TO HIDE, DELETE OR MODIFY "POWERED BY ZIMPLIT CMS" LINK, IF THE DOMAIN HAS BEEN REGISTERED WITH A COMMERCIAL LICENSE AT WWW.ZIMPLIT.ORG -->' },
37
38# HTML Comment
39{ :text=>"<!-- Please don't delete this. You can use this template for free and this is the only way that you can say thanks to me -->" },
40
41# Powered by text
42{ :regexp=>/<a[^>]+href="http:\/\/(www\.)?zimplit\.org\/?"[^>]*>Powered(&nbsp;| )by(&nbsp;| )Zimplit(&nbsp;| )CMS<\/a>/i },
43
44# Powered by text
45{ :regexp=>/Powered(&nbsp;| )by(&nbsp;| )<A[^>]+href="http:\/\/(www\.)?zimplit\.org\/?"[^>]*>Zimplit(&nbsp;| )CMS<\/A>/i },
46
47]
48
49end
50
51