Sha256: 18f76815ab651d04544d5ef808253ad834a0df0290b2aeea95a4013666736e47

Contents?: true

Size: 823 Bytes

Versions: 6

Compression:

Stored size: 823 Bytes

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
##

# Version 0.2
# removed :name and :certainty=>100

WhatWeb::Plugin.define "DotCMS" do
  @author = "Andrew Horton"
  @version = "0.2"
  @description = "DotCMS is an opensource CMS written in Java. Has enterprise support"
  @website = "http://www.dotcms.org/"

  # <img src="/resize_image?path=/dotAsset/
  # <img src="/dotAsset/
  # <link href="/dotAsset/

  @matches = [
    { regexp: /<img[^>]+src="[^"]*\/dotAsset\// }, # "
    { regexp: /<link[^>]+href="[^"]*\/dotAsset\// }, # "
    { regexp: /<a[^>]+href="[^h][^"]*index\.dot/ } # "
  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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