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 44 45 46 47 48 49 50 51 52 53
|
##
# 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.2 # 2011-06-04 #
# Updated regex
##
Plugin.define "DeleGate" do
author "Brendan Coles <bcoles@gmail.com>" # 2010-10-30
version "0.2"
description "DeleGate is a multi-purpose application level gateway, or a proxy server which runs on multiple platforms (Unix, Windows, MacOS X and OS/2). DeleGate mediates communication of various protocols (HTTP, FTP, NNTP, SMTP, POP, IMAP, LDAP, Telnet, SOCKS, DNS, etc.), applying cache and conversion for mediated data, controlling access from clients and routing toward servers. - homepage: http://www.delegate.org/delegate/"
# ShodanHQ results as at 2011-06-04 #
# 393 for DeleGate-Ver
# Examples #
examples %w|
132.204.42.200
132.204.42.201
132.204.42.202
132.204.42.203
132.204.42.204
132.204.42.206
132.204.42.207
132.204.42.208
132.204.42.209
132.204.42.234
211.16.122.162
122.219.129.12
132.204.42.220
62.245.234.141
168.210.113.61
210.254.60.70
|
# Passive #
def passive
m=[]
# Version Detection # HTTP Server Header
m << { :version=>@headers["server"].scan(/^DeleGate\/([^\s]+)/) } if @headers["server"] =~ /^DeleGate\/([^\s]+)/
# Version Detection # HTTP DeleGate-Ver Header
m << { :version=>@headers["delegate-ver"].scan(/^([^\s]+) \(delay=/) } if @headers["delegate-ver"] =~ /^([^\s]+) \(delay=/
# Return passive matches
m
end
end
|