"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/activex.rb" (15 Jan 2021, 1107 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.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    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 "ActiveX"
    9 authors [
   10   "Brendan Coles <bcoles@gmail.com>", # 2011-04-17
   11   # v0.2 # Andrew Horton # Updated to return the CLSID as a module. Bugfix - quotes around classid are optional
   12   "Andrew Horton", # v0.3 # 2016-04-18 # Replaced passive function with match for Flash-ActiveX. 
   13 ]
   14 version "0.3"
   15 description "ActiveX is a framework based on Microsoft's Component Object Model (COM) and Object Linking and Embedding (OLE) technologies. ActiveX components officially operate only with Microsoft's Internet Explorer web browser and the Microsoft Windows operating system. - More info: http://en.wikipedia.org/wiki/ActiveX"
   16 
   17 
   18 # Matches #
   19 matches [
   20     # object clsid
   21     { :module=>/<object [^>]*classid=["']?clsid:([\s]*[a-f\d\-]+)['"]?/i },
   22     # Flash-ActiveX
   23     { :string=>"Flash-ActiveX", :regexp=>/d27cdb6e-ae6d-11cf-96b8-444553540000/ }
   24 ]
   25 
   26 
   27 end
   28