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
|
##
# 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 # 2016-04-17 # Andrew Horton
# Added website parameter and description
##
Plugin.define "TCMS" do
author "Brendan Coles <bcoles@gmail.com>" # 2010-08-29
version "0.2"
description "Content management system by Tanzarine Technology Ltd"
website "http://www.tanzarine.co.uk/Articles/cms.html"
# 26 results for "powered by TCMS" @ 2010-08-28
# Dorks #
dorks [
'"powered by TCMS"'
]
matches [
{ :ghdb=>'"powered by TCMS"', :certainty=>75 },
]
def passive
m=[]
# TCMS_SESS_ID cookie
m << {:name=>"TCMS_SESS_ID Cookie" } if @headers["set-cookie"] =~ /TCMS_SESS_ID=/
# 2.0+ powered by text
if @body =~ / <a style="color:#999;" href="http:\/\/www.arsmedia-nidda.de">arsmedia<\/a>/
if @body =~ /powered by TCMS v[0-9\.]+ © [0-9]{4} by/
version=@body.scan(/powered by TCMS v([\d\.]+) © [0-9]{4} by/).flatten
m << {:version=>version}
end
end
# 3.0+ Powered by text
if @body =~ /<span class="copyright">Powered by tCMS v[\d\.]+ ©[0-9]{4} Tanzarine Technology Ltd<\/span>/
version=@body.scan(/<span class="copyright">Powered by tCMS v([\d\.]+) ©[0-9]{4} Tanzarine Technology Ltd<\/span>/)[0][0]
m << {:version=>version}
end
m
end
end
|