File: IceWarp-Server.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 (62 lines) | stat: -rw-r--r-- 1,462 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
##
# 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 "IceWarp-Server" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-03-17
version "0.1"
description "IceWarp Unified Communications Server is a fully integrated email server, webmail server, groupware, instant messaging, VoIP / SIP, text messaging. - Homepage: http://www.icewarp.com/"

# ShodanHQ results as at 2011-03-17 #
# 6,632 for IceWarp -WebSrv
#   259 for IceWarp WebSrv

# Examples #
examples %w|
demo.icewarp.com
74.211.241.235
62.225.1.71
97.67.51.250
151.12.1.16
82.177.2.72
217.149.195.217
193.179.105.241
80.120.70.41
139.146.150.222
80.120.70.41
83.97.98.12
97.65.121.91
202.67.226.70
70.85.41.166
212.154.36.82
203.116.95.32
218.211.252.77
87.253.145.122
213.115.93.91
mail.alshaya.com
mail.moffittsystems.com:64000
mail.nitc-tankers.com:32000
www.richhabitat.net
mail.platinbox.org:8080
post.ird.com
|

# Passive #
def passive
	m=[]

	# Version Detection # IceWarp
	m << { :version=>@headers["server"].scan(/^IceWarp\/(.+)$/) } if @headers["server"] =~ /^IceWarp( WebSrv)?\/(.+)$/

	# Version Detection # IceWarp WebSrv
	m << { :version=>@headers["server"].scan(/^IceWarp WebSrv\/(.+)$/) } if @headers["server"] =~ /^IceWarp( WebSrv)?\/(.+)$/

	# Return passive matches
	m

end

end