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# http://www.morningstarsecurity.com/research/whatweb
6##
7Plugin.define "Oracle-Application-Server" do
8author "Brendan Coles <bcoles@gmail.com>" # 2011-11-22
9version "0.1"
10description "Oracle Application Server - superseded by Oracle iAS (Internet Application Server)"
11website "http://www.oracle.com/technetwork/middleware/ias/index.html"
12# More Info: https://en.wikipedia.org/wiki/Oracle_Application_Server
13
14# ShodanHQ results as at 2011-11-22 #
15# 15,793 for Oracle-Application-Server
16# 15,122 for Oracle-Application-Server-10g
17#    384 for Oracle-Application-Server-11g
18
19
20
21# Matches #
22matches [
23
24# HTTP Header # Server
25{ :search=>"headers[server]", :string=>/^Oracle-Application-Server-(1[01]g)/ },
26
27# HTTP Header # Server # Version Detection
28{ :search=>"headers[server]", :version=>/^Oracle-Application-Server-1[01]g\/([^\s]+)/ },
29{ :search=>"headers[server]", :version=>/^Oracle Application Server\/1[01]g \(([^\s^\)]+)\)/ },
30
31# HTTP Header # Server # OracleAS-Web-Cache Detection
32{ :search=>"headers[server]", :module=>/^Oracle[ -]Application[ -]Server.+ (OracleAS-Web-Cache-1[01]g\/[^\s]+)/ },
33
34]
35
36end
37
38