Sha256: caae4273121f83ab4a0c64945303ade0fa0bb8f8c6a66a97e8eb3e6e7095a687

Contents?: true

Size: 1.53 KB

Versions: 6

Compression:

Stored size: 1.53 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
##
# Version 0.3 # 2016-04-17 # Andrew Horton
# Added website parameter and description
##
# Version 0.2 # 2011-01-23 #
# Updated version detection
##
WhatWeb::Plugin.define "CaupoShop-Classic" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-08-29
  @version = "0.3"
  @description = "German eCommerce and Content management system"
  @website = "http://www.caupo.net/"

  # Google results as at 2010-08-29 #
  # 6   for "powered by CaupoShop Classic ver"
  # 121 for "powered by CaupoShop Classic"
  # 217 for inurl:csc_articles.php

  # DOrks #
  @dorks = [
    '"powered by CaupoShop Classic"',
    'inurl:csc_articles.php'
  ]

  # Matches #
  @matches = [

    # GHDB # URL pattern
    { ghdb: 'inurl:csc_articles.php', certainty: 25 },

    # Powered by text
    { regexp: /<td align="center"><small>&copy; 1998\-?[0-9]{0,4} <a href="http:\/\/www.caupo.net" target="_blank">CaupoNet<\/a>/ },

    # Powered by text
    { regexp: /<td align="center"><small>Powered by CaupoShop Classic[\s]?<\/small><\/td>/ },

    # Powered by text # Version Detection
    { version: /<td align="center"><small>Powered by CaupoShop Classic Ver\. ([\d\.]+)<\/small><\/td>/ },

    # HTML Comment
    { version: /<!-- CaupoShop Classic Ver\. ([\d\.]+) \([\d]{4}-[\d]{2}-[\d]{2}\)/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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