"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/activeweb-content-server.rb" (15 Jan 2021, 1479 Bytes) of package /linux/www/WhatWeb-0.5.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 ##
    2 # This file is part of WhatWeb and may be subject to
    3 # redistribution and commercial restrictions. Please see the WhatWeb
    4 # web site for more information on licensing and terms of use.
    5 # https://www.morningstarsecurity.com/research/whatweb
    6 ##
    7 Plugin.define do
    8 name "activeWeb-Content-Server"
    9 authors [
   10   "Brendan Coles <bcoles@gmail.com>", # 2011-03-25
   11   "Andrew Horton", # v0.2 # 2016-04-18 # Moved HTTP header patterns from passive function to matches[]. 
   12 ]
   13 version "0.2"
   14 description "Content Server is a comprehensive, scalable content management platform for professional demands. It combines editorial system, website management and development environment for Web applications in one package."
   15 website "http://www.active-web.de/"
   16 
   17 # ShodanHQ results as at 2011-03-25 #
   18 # 19 for X-AwCache
   19 
   20 # Matches #
   21 matches [
   22 
   23 # Version Detection # HTML Comment
   24 { :version=>/<!--[\s]+page generated with activeWeb contentserver R([\d\.]+)/ },
   25 { :version=>/<!--[\s]+activeWeb cache extension R([\d\.]+)/ },
   26 
   27 # HTML Comment
   28 { :text=>'<!-- AWNOCACHEBEGIN__AWNOCACHEBEGIN__AWNOCACHEBEGIN__AWNOCACHEBEGIN__AWNOCACHEBEGIN -->' },
   29 
   30 # X-AwCache-* HTTP Server Header
   31 { :name=>"X-AwCache-FollowUp Header", :text=>"", :search=>"headers[x-awcache-followup]" },
   32 { :name=>"X-AwCache-Command Header", :text=>"", :search=>"headers[x-awcache-command]" },
   33 
   34 # Technology Detection
   35 { :name=>"X-AwCache-ScriptTechnology Header", :string=>/^.*$/ ,:search=>"headers[x-awcache-scripttechnology]" },
   36 
   37 ]
   38 
   39 
   40 end
   41