Sha256: ce63cd26662e45b3ad082a2e79127d54e81076402f3652b7777bb36db8b2443a

Contents?: true

Size: 1.22 KB

Versions: 6

Compression:

Stored size: 1.22 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 "Kajona" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-07-19
  @version = "0.1"
  @description = "Kajona - Open Source Content Management System - Requires PHP & MySQL"
  @website = "http://www.kajona.de/"

  # Matches #
  @matches = [

    # Meta Generator
    { regexp: /<meta name="generator" content="Kajona., www\.kajona\.de" \/>/ },

    # HTML Comment
    { regexp: /<!--\s+Website powered by Kajona. Open Source Content Management Framework/ },

    # JavaScript
    { regexp: /<script type="text\/javascript">KAJONA_(DEBUG|WEBPATH) = / },

    # Powered by text
    { text: '<div class="left">powered by Kajona</div>' },

    # Footer
    { text: '<div id="footerContainer">powered by <a href="http://www.kajona.de" target="_blank" title="Kajona' },

    # Admin Page # Footer # Year Detection
    { string: /<div class="copyright">&copy; (20[\d]{2}) <a href="http:\/\/www\.kajona\.de" target="_blank" title="Kajona/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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