# frozen_string_literal: true ## # 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-19 # Andrew Horton # Replaced passive function with match for server header ## WhatWeb::Plugin.define "Apache-Cocoon" do @author = "Brendan Coles " # 2011-02-24 @version = "0.2" @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." @website = "http://cocoon.apache.org/" # ShodanHQ results as at 2011-02-24 # # 707 for X-Cocoon-Version @matches = [ { version: /^(.*)$/, search: "headers[x-cocoon-version]" }, ] end