File: cauposhop-classic.rb

package info (click to toggle)
whatweb 0.4.9-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 21,188 kB
  • sloc: ruby: 33,652; sh: 614; makefile: 42
file content (53 lines) | stat: -rw-r--r-- 1,448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
##
# 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
##
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