"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/access-control-allow-methods.rb" (15 Jan 2021, 742 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 "Access-Control-Allow-Methods"
    9 authors [
   10   "Brendan Coles <bcoles@gmail.com>", # 2011-08-20
   11 ]
   12 version "0.1"
   13 description "Specifies the method or methods allowed when accessing a resource"
   14 website "http://www.w3.org/TR/2008/WD-access-control-20080912/"
   15 
   16 # ShodanHQ results as at 2011-08-20 #
   17 # 106 for Access-Control-Allow-Methods
   18 
   19 
   20 
   21 # Matches #
   22 matches [
   23 
   24 # Access-Control-Allow-Methods Header
   25 { :search=>"headers[access-control-allow-methods]", :string=>/(.+)/ },
   26 
   27 ]
   28 
   29 end
   30