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-02 #
8# Updated version detection
9##
10Plugin.define "Koobi" do
11author "Brendan Coles <bcoles@gmail.com>" # 2010-08-28
12version "0.2"
13description "Shop/CMS software [German]"
14website "http://www.Dream4.de/"
15
16# Google results as at 2010-08-28 #
17# 262 for "powered by Koobi PRO|SHOP|CMS" -"SQL Injection"
18
19# Dorks #
20dorks [
21'"powered by Koobi PRO|SHOP|CMS" -"SQL Injection"'
22]
23
24
25
26# Matches #
27matches [
28
29# powered by text
30{ :regexp=>/Powered by <a title="Koobi ist ein komfortables und leistungsf&auml;higes Content-Management-System \(CMS\) f&uuml;r Privatpersonen, Vereine, kleine und mittelst&auml;ndische Unternehmen, die einen professionellen Internetauftritt realisieren m&ouml;chten."[^>]+>Koobi/i },
31
32# HTML Comment
33{ :text=>'<!-- powered by koobi - do not remove this info! -->' },
34
35# Version Detection # Koobie Pro Powered by text
36{ :version=>/powered by <a class="foot" href="http:\/\/www.dream4.de\/[^>]+>Koobi Pro ([\d\.]+)<\/a>/i, :string=>"Pro" },
37
38# Version Detection # Meta generator
39{ :version=>/<meta name="generator" content="\(c\) Koobi ([\d\.]+), http:\/\/www.dream4.de" \/>/ },
40
41# Version Detection # Powered by text
42{ :version=>/Powered by <a title="Koobi ist ein komfortables und leistungsf&auml;higes Content-Management-System \(CMS\) f&uuml;r Privatpersonen, Vereine, kleine und mittelst&auml;ndische Unternehmen, die einen professionellen Internetauftritt realisieren m&ouml;chten."[^>]*>Koobi[\ :]*(SHOP|PRO|CMS)<\/a> ([\d\.]+)/i, :offset=>1 },
43
44# Version Detection # Powered by text
45{ :version=>/Powered by <a[^>]+href="http:\/\/www.dream4.de\/cms\/content\/6\/koobi\/1\/">Koobi<\/a> (PRO|SHOP|CMS)[\s]*([\d\.\ a-z]+)/i, :offset=>1 },
46
47# Version Detection # Old Koobi CMS powered by text
48{ :version=>/powered by <a[^>]+href="http:\/\/www.dream4.de\/[^>]+>koobi-cms<\/a> ([\d\.]+)/i },
49
50# Version Detection # Powered by text
51{ :version=>/<div class="copyright">powered by Koobi CMS ([\d\.]+)/ },
52
53# Version Detection # HTML comment
54{ :version=>/    Diese Webseite wurde mit Koobi[\ :]*(SHOP|PRO|CMS)[\ \-]*([\d\.\ a-z]+) erstellt./, :offset=>1 },
55
56# Version Detection # Nulled script by antichat.ru # Powered by text
57{ :version=>/powered by <a class="foot" href="http:\/\/www.antichat.ru" target="_blank">Koobi Pro ([\d\.]+) \[nulled by censored! from antichat.ru\]<\/a>/, :string=>"Nulled" },
58
59]
60
61end
62
63