File: tutortrac.rb

package info (click to toggle)
whatweb 0.4.8~git20161009-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,588 kB
  • ctags: 540
  • sloc: ruby: 33,376; sh: 612; makefile: 42
file content (75 lines) | stat: -rw-r--r-- 2,561 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
##
# 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
##
Plugin.define "TutorTrac" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-06-02
version "0.1"
description "Online management software for learning, writing, tutoring departments, and academic skills centers for traditional and athletic students. "
website "http://www.go-redrock.com/"

# ShodanHQ results as at 2011-06-02 #
# 65 for TutorTrac

# Google results as at 2011-06-02 #
# 5 for intitle:"TutorTrac Learning Center Tracking Software"

# Dorks #
dorks [
'intitle:"TutorTrac Learning Center Tracking Software"'
]



# Matches #
matches [

# Title
{ :text=>'<TITLE>TutorTrac Learning Center Tracking Software</TITLE>' },

# Meta Keywords
{ :text=>'<meta name="keywords" content="tutor,software,scheduling,learning,center,tutoring,assistant,assistance,education,accutrack,tutorial,community,college,university"><meta name="description" content="Web Based Tutor/Learning Center Management/Scheduling Software">' },

# Version Detection # 3.x
{ :version=>/<P ALIGN=right><FONT SIZE="-1" FACE="Verdana" COLOR="#CCCCCC">version[\s]+([\d\.]+)[\s]?&copy;Copyright 20[\d]{2}, <\/FONT><A HREF="http:\/\/www\.go-redrock\.com"><FONT SIZE="-1" FACE="Verdana" COLOR="#CCCCCC">RedRock/ },

# Version Detection # 4.x
{ :version=>/<P ALIGN=right><FONT COLOR="#CCCCCC">version ([\d\.]+)[\s]+&copy;Copyright 2004-20[\d]{2}<br \/><\/FONT><A HREF="http:\/\/www\.go-redrock\.com"><FONT COLOR="#CCCCCC">RedRock/ },

# Aggressive # Usually 3.x # /TutorTrac/favicon.ico
{ :url=>"/TutorTrac/favicon.ico", :md5=>"c56dda95e69b50c4b3802919aab0e950" },

# Aggressive # Usually 4.x # /TracWeb40/favicon.ico
{ :url=>"/TracWeb40/favicon.ico", :md5=>"365ccabab0c04ec5c6a9721725b76c36" },

]

# Passive #
def passive
	m=[]

	# No server HTTP header
	if @headers["server"].nil?

		# Location Header # ./TracWeb40/Default.html
		m << { :name=>"Location Header" } if @headers["location"] =~ /^\.\/TracWeb40\/Default\.html$/

		# Location Header # TutorTrac/Default.html
		m << { :name=>"Location Header" } if @headers["location"] =~ /^TutorTrac\/Default\.html$/

		# InstallCode Cookie
		m << { :name=>"InstallCode Cookie" } if @headers["set-cookie"] =~ /InstallCode=[A-Z]+;/

		# ProductCode Cookie
		m << { :name=>"ProductCode Cookie" } if @headers["set-cookie"] =~ /ProductCode=RSC[\d]+=[\d]+;/

	end

	# Return passive matches
	m
end

end