"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/adsubtract.rb" (15 Jan 2021, 744 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 "AdSubtract"
    9 authors [
   10   "Brendan Coles <bcoles@gmail.com>", # 2011-06-06
   11   "Andrew Horton", # v0.2 # 2016-04-18 # Replaced passive function with match for server header. 
   12 ]
   13 version "0.2"
   14 description "AdSubtract - a Windows proxy which removes popup ads."
   15 website "http://AdSubtract.com"
   16 
   17 # ShodanHQ results as at 2011-06-06 #
   18 # 65 for AdSubtract
   19 
   20 matches [
   21     # Version Detection # HTTP Server Header
   22     { :version=>/^AdSubtract ([\d\.]+)$/, :search=>"headers[server]" }
   23 ]
   24 
   25 end
   26