Sha256: 549869599654416abd4118675ea7dc05c2789fd0f3621117a369bb46f9fb158d

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

# 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
##
WhatWeb::Plugin.define "dir2web-CMS" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-08-08
  @version = "0.1"
  @description = "dir2web CMS"
  @website = "http://www.dir2web.it/"

  # Google results as at 2012-08-08 #
  # 6 for inurl:"index.php?wpid=homepage"

  # Dorks #
  @dorks = [
    'inurl:"index.php?wpid=homepage"'
  ]

  # Matches #
  @matches = [

    # StyleSheet
    { text: '<link href="default/styles/d2w_object_page.css" rel="stylesheet" type="text/css" media="screen" /></head>' },

    # div class="d2w-back_link"
    { text: '<div class="d2w-back_link" id="start">' },

    # Logo HTML
    { text: '<img src="_themes\/d2w\d\/images\/logo_hp\.jpg" title="dir2web \d logo" alt="dir2web \d logo"/>' },

    # Footer # Version Detection
    { version: /<a href="http:\/\/www\.dir2web\.it"><img style="border:0px" src="default\/d2w\d\.gif" alt="dir2web ([^\s]+) CMS" title="dir2web ([^\s]+) CMS"\/><\/a><br\/><br\/><\/div>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/dir2web-cms.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/dir2web-cms.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/dir2web-cms.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/dir2web-cms.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/dir2web-cms.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/dir2web-cms.rb