File: Purveyor-Encrypt-WebServer.rb

package info (click to toggle)
whatweb 0.4.8~git20120606-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,956 kB
  • sloc: ruby: 53,738; sh: 577; makefile: 34
file content (43 lines) | stat: -rw-r--r-- 1,522 bytes parent folder | download
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
##
# 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
##
Plugin.define "Purveyor-Encrypt-WebServer" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-05-21
version "0.1"
description "Purveyor Encrypt WebServer for OpenVMS combines the reliability, security and scalability of the OpenVMS platform with the graphical ease-of-use and functionality of World Wide Web technologies. OpenVMS (Open Virtual Memory System), previously known as VAX-11/VMS, VAX/VMS or (informally) VMS, is a high-end computer server operating system that runs on VAX, Alpha and Itanium-based families of computers. - More info: http://www.sss.co.nz/software/purveyor/purvpage.htm"
# More info:
# http://www.openvms.org/
# http://alpha.mike-r.com/VMS_beginners_faq.html
# http://en.wikipedia.org/wiki/OpenVMS

# ShodanHQ results as at 2011-05-21 #
# 18 for Purveyor Encrypt Domestic
# 10 for Purveyor Encrypt Export

# Examples #
examples %w|
129.43.7.102
74.218.70.8
74.218.70.7
137.125.248.2
158.165.5.23
132.170.217.131
67.53.90.98
|

# Passive #
def passive
	m=[]

	# Version Detection # HTTP Server Header
	m << { :os=>"OpenVMS", :version=>@headers["server"].scan(/^Purveyor Encrypt (Export|Domestic)\/v([^\s]+) OpenVMS$/)[0][1] } if @headers["server"] =~ /^Purveyor Encrypt (Export|Domestic)\/v([^\s]+) OpenVMS$/

	# Return passive matches
	m
end

end