Sha256: b65d45930a28c9811c54d5537cc28933345d43730e3dbc1de9e0cb8ae89f696d

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# coding: ascii-8bit
# frozen_string_literal: true

##
# 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
##
WhatWeb::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."
  @website = "http://escenic.com/"

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

  # Dorks #
  @dorks = [
    'filetype:ece'
  ]

  # 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_whatweb-0.1.0 lib/whatweb/plugins/escenic.rb