File: Koha.rb

package info (click to toggle)
whatweb 0.4.8~git20120606-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,956 kB
  • sloc: ruby: 53,738; sh: 577; makefile: 34
file content (120 lines) | stat: -rw-r--r-- 3,600 bytes parent folder | download
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
##
# 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 "Koha" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-07-27
version "0.1"
description "Koha is an open source software library automation package (ILS) - Homepage: http://koha-community.org/"

# Google results as at 2011-07-27 #
# 262 for inurl:cgi-bin/koha ext:pl
#  57 for intitle:"Log in to Koha" +Password

# Dorks #
dorks [
'intitle:"Log in to Koha" "Password"',
'inurl:cgi-bin/koha ext:pl'
]

# Examples #
examples %w|
library.software.coop
library.software.coop:8080
head.bibkat.no
head.bibkat.no:8080
staff.kohademo.esilibrary.com
opac.kohademo.esilibrary.com
catalog.bywatersolutions.com
intranet.bywatersolutions.com
library.bswa.org
l2-staff.load.bywatersolutions.com
l1-staff.load.bywatersolutions.com
koha-3.2demo-staff.osslabs.biz
koha-3.2demo-staff.osslabs.biz:8080
koha.nhusd.k12.ca.us:8080
su.maktabat-online.net:8080
alshafallah.maktabat-online.net:8080
mu.maktabat-online.net:8080
115.119.146.176:8081
ptfs-staff.demo.kohalibrary.com
scls-staff.kohalibrary.com
gcpl2-staff.sandbox.kohalibrary.com
ptfs-staff.demo.kohalibrary.com
www.koha.libsoul.com
www.afghandigitallibraries.org:4001
solr.biblibre.com
staff.kalibindia.com
intranet.nikkeibunko.com
sesiahsadminbackup.intersearch.com.au
131.175.9.53:8080
lib.bue.edu.eg:8080
kohanor33.bibkat.no:8080
opencat-staff.library.ucar.edu
library.miuegypt.edu.eg
wat.lib.tldsb.on.ca:8080
sbe.lib.tldsb.on.ca:8080
kramer.mayfirst.org:8080
librarian.opus.koha.catalystdemo.net.nz
koha.com.msu.edu:8080
kingsfund.koha-ptfs.eu:8080
koha.fhcrc.org
vieuxmontreal-intranet.koha.ccsr.qc.ca
koha.jgu.edu.in:8080
koha-pro.devinci.fr
ktmkirjasto.kuopio.fi
devel-pro.tamil.fr
koha.ffzg.hr:8080
kohastaff.halton.gov.uk
librarian.ero.govt.nz
koha.kelantanlibrary.gov.my:8000
elibrary.kelantan.gov.my
koha.nlp.gov.ph
connemara.tnopac.gov.in
thiruvannamalai.tnopac.gov.in
pudukkottai.tnopac.gov.in
vellore.tnopac.gov.in
archives1.dags.hawaii.gov:8000
library.asti.dost.gov.ph
zed.mdah.state.ms.us
dlis.gov.dm
catalog.library.strathamnh.gov
library.nal.gov.au
kohalibrary.halton.gov.uk
|

# Matches #
matches [

# Aggressive # favicon.ico
{ :md5=>"0c240ea1e838d2b398f48122924bf7a0", :url=>"/opac-tmpl/prog/en/includes/favicon.ico" },
{ :md5=>"0c240ea1e838d2b398f48122924bf7a0", :url=>"/intranet-tmpl/prog/en/includes/favicon.ico" },

# favicon.ico HTML
{ :regexp=>/<link rel="shortcut icon" href="\/(intranet|opac)-tmpl\/[^\/]+\/[a-z]{2}\/includes\/favicon\.ico" type="image\/x-icon" \/>/ },

# Version Detection # Meta Generator
{ :version=>/<meta name="generator" content="Koha ([^\s^"]+)" \/>/ },

# input name="koha_login_context"
{ :regexp=>/<input type="hidden" name="koha_login_context" value="(opac|intranet)" \/>/ },

# CSS
{ :text=>'<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/lib/jquery/plugins/ui.tabs.css" />' },
{ :text=>'<link rel="stylesheet" type="text/css" href="/opac-tmpl/prog/en/lib/jquery/plugins/ui.tabs.css" />' },

# Admin Page
{ :text=>'<li><a href="/cgi-bin/koha/lostpassword.pl" title="Password Lost and Found">Lost your password?</a></li>' },

# Admin Page # HTML Comment
{ :certainty=>25, :text=>'<!-- login prompt time-->' },

# Admin Page # You are not logged in
{ :text=>'<div id="help"><span class="loggedin">You are not logged in | </span><a href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">[ ? ]</a></div>' },

]

end