##
# 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 "Simplewire" do
author "Brendan Coles <bcoles@gmail.com>" # 2011-05-31
version "0.1"
description "Simplewire - Wireless Messaging Network - Simplewire is a premium billing and messaging aggregator. Simplewire's aggregation services provide the most direct and reliable route into each mobile operator's network for the delivery of text-messages, premium content, cross-carrier short-codes, billing transactions and other value-added mobile services. - Homepage: http://www.simplewire.com/"
# More Info #
# http://search.cpan.org/~rootlevel/Net-Pager-2.00/lib/Net/Pager.pm
# http://www.openmarket.com/

# ShodanHQ results as at 2011-05-31 #
# 5 for Simplewire

# Examples #
examples %w|
98.129.101.58
92.52.87.194
89.234.5.52
|

# Passive #
def passive
	m=[]

	# Version Detection # HTTP Server Header
	m << { :version=>@headers["server"].scan(/^Simplewire\/([^\s]+)$/) } if @headers["server"] =~ /^Simplewire\/([^\s]+)$/

	# Return passive matches
	m
end

end

