Sha256: 4e16f19197c56ba83edb54370b799cba8103dbd0bd5142e14da6d0b205023fe5

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 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 "WebsiteBaker-CMS" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-08-14
  @version = "0.1"
  @description = "WebsiteBaker open source content management system (CMS)."
  @website = "http://www.websitebaker2.org"

  # Google results as at 2011-08-14 #
  # 227 for "powered by websitebaker"

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

  # Matches #
  @matches = [

    # Version Detection # Meta Generator
    { version: /<meta name="generator" content="WebsiteBaker ([\d\.]+) CMS; www\.websitebaker2?\.org"[\s]?\/?>/ },

    # Powered by footer
    { regexp: /[pP]owered by <a href="http:\/\/www\.websitebaker2?\.org"( target="_blank")?>WebsiteBaker<\/a>/ },

    # Cookie
    { search: "headers[set-cookie]", regexp: /wb_[\d]{4}_session_id=[^;]+;/ },
    { search: "headers[set-cookie]", regexp: /wb_session_id=[^;]+;/, certainty: 75 },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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