Sha256: fb80ae75eefd85f00803253afe0dd00f3c6650b7499115bef9dc2906afb0b114

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 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 "ClanSphere" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-09-18
  @version = "0.1"
  @description = "Free OpenSource Clan CMS"
  @website = "www.csphere.eu/index/clansphere/about"

  # Google results as at 2010-09-18 #
  # 45 for "powered by ClanSphere"

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

  # Matches #
  @matches = [

    # Default title
    { text: '<title>ClanSphere - News</title>' },

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

    # Powered by text
    { regexp: /Powered by <a href="http:\/\/www.csphere.eu[^>]+>Clansphere[\ CSP]*/i },
    { regexp: /<a href="[\/]*index.php\?mod=clansphere&amp;action=about[^>]+>Powered by Clansphere[\ CSP]*/i },
    { regexp: /<a href="[\/]*index.php\?mod=clansphere&amp;action=about[^>]+>Clansphere[\ CSP]*/i },
    { regexp: /powered by <a href="http:\/\/www.clansphere.net[^>]+>ClanSphere Project<\/a>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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