Sha256: 064ebc3bd06eb21285c24d3dab1c908291ab00f295a9cf778f2baeacbf715e4c

Contents?: true

Size: 1.25 KB

Versions: 6

Compression:

Stored size: 1.25 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 "DotA-OpenStats" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-12-19
  @version = "0.1"
  @description = "DotA OpenStats - MySQL based web statistics site for DotA games. - Requires PHP and MySQL"
  @website = "https://sourceforge.net/projects/dotaopenstats/"

  # Google results as at 2011-12-19 #
  # 142 for intitle:"DotA OpenStats" "2011 Powered by DotA OpenStats" -dork

  # Dorks #
  @dorks = [
    'intitle:"DotA OpenStats" "2011 Powered by DotA OpenStats" -dork'
  ]

  # Matches #
  @matches = [

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

    # Meta Copyright
    { text: '<meta name="copyright" content="openstats.iz.rs" />' },

    # Logo
    { text: "<img alt='' width='16' height='16' style='vertical-align:middle' src='./style/dota/img/logo.png' />" },

    # Powered by link
    { string: /&copy; (20[\d]{2}) Powered by <a target="_blank" href="http:\/\/openstats\.iz\.rs">DotA OpenStats<\/a>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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