Sha256: 721eaddade38494bed06effbad221318f7dac788b8491cfa00507c88d77872d8

Contents?: true

Size: 1.92 KB

Versions: 6

Compression:

Stored size: 1.92 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 "BrowserCMS" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-10-18
  @version = "0.1"
  @description = "The newly redesigned BrowserCMS 2.0 is an easy, affordable way to control, edit, and organize website content."
  @website = "http://www.browsercms.com/"

  # Google results as at 2010-10-18 #
  # 96 for "powered by BrowserCMS"

  # Dorks #
  @dorks = [
    '"powered by BrowserCMS"'
  ]

  # Matches #
  @matches = [

    # Default HTML comment
    { text: '<!--User is member of the following groups:  -->' },

    # 2.x # Powered by text
    { text: '<li class="bmcms"><a href="http://www.browsercms.com/index.ww" title="BrowserCMS 2.0" target="_blank"><span>Powered by BrowserCMS 2.0</span></a></li>', version: "2.x" },

    # Powered by text
    { regexp: /Powered by <a href="http:\/\/www.browsercms.com[\/]*"[^>]+>BrowserCMS<\/a>/i },
    { regexp: /<a href="http:\/\/www.browsercms.com[\/]*"[^>]+title="Powered by BrowserCMS"[^>]+/ },

    # Powered by logo default HTML
    { regexp: /<a href="http:\/\/www.browsercms.com[^>]+><img[^>]*src="\/site\/images[^>]+ onmouseover="this.src='\/site\/images[^>]+onmouseout="this.src='\/site\/images[^>]+alt="Powered by BrowserCMS"[^>]*><\/a>/i },

    # Login page
    { text: '<form method="POST" action="/portlets/login/do-login.jsp" name="security">' },
    { regexp: /<input type="hidden" name="success_uri" value="[^>]*\/page.ww\?name=[^>]*\&section=[^>]*"\/>/ },
    { regexp: /<input type="hidden" name="failure_uri" value="[^>]*\/page.ww\?name=[^>]*\&section=[^>]*"\/>/ },

    # Version detection # Meta generator
    { version: /<meta name="generator" content="BrowserCMS ([^\"]+)"/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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