forked from urbanadventurer/WhatWeb
/
S-CMS.rb
49 lines (39 loc) · 1.23 KB
/
S-CMS.rb
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
# coding: ascii-8bit
##
# 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.2 # 2011-02-25 #
# Updated version detection
##
##
# Version 0.3 # 2011-02-25 #
# Updated powered by match
##
Plugin.define "S-CMS" do
author "Brendan Coles <bcoles@gmail.com>" # 2010-08-30
version "0.3"
description "CMS - homepage: http://www.matteoiammarrone.com/public/s-cms/"
# Google results as at 2010-08-30 #
# 8 for "powered by S-CMS"
# Examples #
examples %w|
www.scms.nl/admin/admin.asp
www.opravafotoaparatov.sk
www.matteoiammarrone.com/public/s-cms/
www.scms.altervista.org/fluid/
|
# Matches #
matches [
# Powered by text
{ :text=>'<p class="alignRight">Powered by S:CMS - Copyright ©' },
# Admin Page # Default Title
{ :text=>'<title>SCMS</title>' },
# HTML comment - translated: Top row indexing in search engines
{ :text=>'<!-- Inizio righe di indicizzazione nei motori di ricerca -->' },
# Version Detection # Powered by text
{ :version=>/Powered by <a href='http:\/\/www.matteoiammarrone.com\/public\/s-cms' target='_blank'>S-Cms ([\d\.]+)<\/a>/ },
]
end