File: Apache-Cocoon.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 (42 lines) | stat: -rw-r--r-- 988 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
##
# 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 "Apache-Cocoon" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-02-24
version "0.1"
description "Apache Cocoon is a Spring-based framework (since version 2.2 of Cocoon) built around the concepts of separation of concerns and component-based development. - homepage: http://cocoon.apache.org/"

# ShodanHQ results as at 2011-02-24 #
# 707 for X-Cocoon-Version

# Examples #
examples %w|
198.30.120.223
62.99.195.18
144.230.162.33
89.97.225.114
128.40.182.18
62.240.79.77
130.60.127.19
12.109.164.254
219.143.218.138
210.82.57.92
|

# Passive #
def passive
	m=[]

	# X-Cocoon-Version Header
	m << { :version=>@headers['x-cocoon-version'].to_s } unless @headers['x-cocoon-version'].nil?

	# Return passive matches
	m
end

end