Sha256: 03685d5028ef18b4623408f25cf0bb80723e6279aa1f60e90d0ea9c7deb5a535

Contents?: true

Size: 1.39 KB

Versions: 6

Compression:

Stored size: 1.39 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 "CmyDocument" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-11-04
  @version = "0.1"
  @description = "CmyDocument is a Content Management and Document Management application"
  @website = "http://cmydocument.com/"

  # Google results as at 2011-11-04 #
  # 6 for inurl:"myDoclist.asp" intitle:"CmyDocument"

  # Dorks #
  @dorks = [
    'inurl:"myDoclist.asp" intitle:"CmyDocument"'
  ]

  # Matches #
  @matches = [

    # StyleSheet
    { text: '<link href="CmyDocument.css" rel="stylesheet" type="text/css">' },
    { text: '<link href="CmyDocument2.css" rel="stylesheet" type="text/css">' },
    { text: '<link rel="stylesheet" type="text/css" href="CmyDocument.css">' },

    # Shortcut Icon
    { text: '<link rel="SHORTCUT ICON" href="icon_cmydoc.ico">' },

    # HTML Comment
    { text: '<!-- footer (begin) --><!-- *** Note: Only licensed users are allowed to remove or change the following copyright statement. *** -->' },

    # Document View link
    { regexp: /<td style="white-space: nowrap;"><span class="aspmaker"><a href="myDocview\.asp\?(myDocID|ID)=[\d]+">View<\/a><\/span><\/td>/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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