forked from urbanadventurer/WhatWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivex.rb
29 lines (24 loc) · 1.08 KB
/
activex.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
##
# 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.3 # 2016-04-18 # Andrew Horton
# Replaced passive function with match for Flash-ActiveX
##
# Version 0.2 by Andrew Horton
## Updated to return the CLSID as a module. Bugfix - quotes around classid are optional
#
Plugin.define "ActiveX" do
author "Brendan Coles <[email protected]>" # 2011-04-17
version "0.3"
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"
# Matches #
matches [
# object clsid
{ :module=>/<object [^>]*classid=["']?clsid:([\s]*[a-f\d\-]+)['"]?/i },
# Flash-ActiveX
{ :string=>"Flash-ActiveX", :regexp=>/d27cdb6e-ae6d-11cf-96b8-444553540000/ }
]
end