# coding: ascii-8bit
##
# 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 # 2011-03-30 # Brendan Coles <bcoles@gmail.com>
# Updated regex to decrease false positives & merged EscenicEngine5 plugin
##
Plugin.define "Escenic" do
author "Erik Inge Bolsø <knan+whatweb@redpill-linpro.com> & nikosk <nk@dsigned.gr>"
version "0.3"
description "Escenic is a commercial CMS popular in the Nordic region. - Homepage: http://escenic.com/"

# Google results as at 2011-03-19 #
# 273 for filetype:ece

# Dorks #
dorks [
'filetype:ece'
]

# Examples #
examples %w|
escenic.com
thetimes.co.uk
www.barnetid.no
www.side3.no
www.filmweb.no
www.reiserogferie.no
golf.no
spn.dk
www.arbeidsmanden.no
www.folkebladet.no
www.na24.no
www.spillmagasinet.no
epn.dk
www.vareveger.no
www.oslokino.no
www.industrien.no
www.idg.no
fpn.dk
www.banett.no
www.oa.no
www.thetimes.co.uk
www.thesundaytimes.co.uk
www.nyteknik.se
www.gooieneemlander.nl
www.timesonline.co.uk
jp.dk
www.upstreamonline.com
reise.bt.no
www.ed.nl
www.pzc.nl
www.thesun.co.uk
www.majalla.com
|

# Matches #
matches [

# HTML Comment
{ :text=>'<!-- Start Escenic Analysis Engine client script -->' },

# Meta Author
{ :certainty=>75, :text=>'<meta name="author" content="Escenic AS"/>' },

# Search Form
{ :certainty=>25, :regexp=>/<form action="\/sok\/" id="[^"]+" method="get" accept-charset="utf-8"[^>]*>/ },

# GHDB # Filetype
{ :certainty=>75, :ghdb=>"filetype:ece inurl:article" },

# escenic 4.x image storage structure
{ :certainty=>25, :regexp=>/<img[^>]+src="[^"^>]+\/archive\/\d{5}\/[^"^>]+"[^>]*>/ },

# escenic .ece url match
{ :certainty=>25, :regexp=>/<a[^>]+href="[^"^>]+\/article[\d]{5,10}\.ece">[^<]*<\/a>/ },

]

end

