File: webspell.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 (49 lines) | stat: -rw-r--r-- 1,470 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
##
# 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 # 2012-02-22 #
# Added Google dorks
# Added cookie match
##
Plugin.define "webSPELL" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-03-14
version "0.2"
description "webSPELL is a free Content Management System which was especially developed for the needs of esport related communities."
website "http://www.webspell.org/"

# ShodanHQ results as at 2012-02-22 #
# 326 for ws_session

# Google results as at 2011-03-14 #
# 92 for "this site is using the webspell script version" -dork

# Dorks #
dorks [
'"this site is using the webspell script version" -dork'
]



# Matches #
matches [

# Meta Generator
{ :text=>'<meta name="generator" content="webSPELL" />' },

# Version Detection # This site is using link
{ :version=>/This site is using the <a href="http:\/\/www.webspell.org" target="[^"]+">webSPELL (Free Content Management System|script) \(version: ([^\)]+)\)[\s]*<\/a>/, :offset=>1 },

# Version Detection # This site is using link # German
{ :version=>/Diese Seite benutzt das <a href="http:\/\/www.webspell.org" target="[^"]+">webSPELL Script \(Version: ([^\)]+)\)[\s]*<\/a>/ },

# ws_session Cookie
{ :certainty=>75, :search=>"headers[set-cookie]", :regexp=>/ws_session=[a-z\d]+;/ },

]

end