Sha256: 967bd15e308da582b3481093c608ec762f52da19bf247561fbc71e26d1295ac5

Contents?: true

Size: 1.36 KB

Versions: 6

Compression:

Stored size: 1.36 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 "Energine" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-02-27
  @version = "0.1"
  @description = "Energine Content Management Framework - XML based PHP5 content management framework"
  @website = "http://energine.org/"

  # Google results as at 2011-02-27 #
  # 85 for "Powered by Energine"

  # Dorks #
  @dorks = [
    '"Powered by Energine"'
  ]

  # Matches #
  @matches = [

    # Default JavaScript
    { regexp: /<script type="text\/javascript" src="[^"]*scripts\/Energine.js"><\/script>/ },

    # Default Stylesheet
    { regexp: /<link rel="stylesheet" type="text\/css" href="[^"]*stylesheets\/energine.css" \/>/ },

    # Powered by text
    { text: '<div id="footer"><span class="copyright">Powered by <a href="http://energine.org">Energine</a><br/>' },
    { text: '<span class="copyright">Powered by <a href= "http://energine.org/">Energine</a></span>' },

    # Error Page # Powered by text
    { certainty: 75, text: '<div id="footer">Powered by Energine.</div>' },
    { text: '<div id="footer">Powered by <a href="http://energine.org">Energine</a>' },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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