Sha256: a12396ff9d097cb8ba1b107988716559a3a0c39d4367d777e013c7e979ae0ea6

Contents?: true

Size: 1.56 KB

Versions: 6

Compression:

Stored size: 1.56 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
##
# Version 0.2 #
# Updated matches and version detection
##
WhatWeb::Plugin.define "Umbraco" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-06-12
  @version = "0.2"
  @description = "umbraco is an open source project with roots back to year 2000 even though it wasn't released as open source until 2004."
  @website = "http://www.umbraco.org"

  # About 24,400 results for "powered by umbraco" @ 2010-06-08
  # 27 results for "site powered by umbraco" @ 2010-06-08
  # 17 results for "site powered by umbraco v4" @ 2010-06-08

  # Dorks #
  @dorks = [
    '"site powered by umbraco"'
  ]

  @matches = [

    # GHDB Match
    { ghdb: '"powered by umbraco"', certainty: 25 },

    # Meta generator
    { text: '<meta name="generator" content="umbraco" />' },

    # Powered by text
    { regexp: /Powered by[^<]*<a[\s]+href="http:\/\/[www.]*umbraco.org[^>]*>Umbraco<\/a>/i },

    # Version detection # Powered by text
    { version: /powered by[^<]*<a[\s]+href="http:\/\/[www.]*umbraco.org[^>]*>umbraco v([^<]+)<\/a>/i },

    # Version detection # Powered by text # 4.x
    { regexp: /powered by[^<]*<a[\s]+href="http:\/\/[www.]*umbraco.org[^>]*>umbraco v4<\/a>/i, version: "4.x" },

    # Version detection # Meta generator
    { version: /<meta name="generator"[^>]*content="umbraco[\s]+([0-9\.]+)"/i },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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