Sha256: 9863da0ccc4484a6cac79d9c21ad2d1b68874088cb4489cdfbae7e4e118ce1ab

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 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 "MetInfo" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-02-26
  @version = "0.1"
  @description = "MetInfo"
  @website = "http://www.metinfo.cn/"

  # Google results as at 2011-02-26 #
  # 409 for "Powered by MetInfo"

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

  # Matches #
  @matches = [

    # Meta Copyright
    { regexp: /<meta name="copyright" content="Copyright 2008-20[\d]{2} MetInfo">/ },

    # Meta Author
    { regexp: /<meta name="author" content="[^"]+--Powered by MetInfo">/ },

    # Version Detection # Powered by text
    { version: /Powered by <a href="http:\/\/www.MetInfo.cn" target="_blank" title="MetInfo enterprise website manager system"><b>[^<]+<\/b><\/a> ([\d\.]+)/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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