##
# 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.
# https://www.morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "simpleSAMLphp"
authors [
  "Brendan Coles <bcoles@gmail.com>", # 2012-01-18
]
version "0.1"
description "A PHP implementation of SAML 2.0 service provider and identity provider functionality."
website "http://simplesamlphp.org"

# Google results as at 2012-01-18 #
# 29 for intitle:"simpleSAMLphp installation page"
# 13 for inurl:"module.php/core/frontpage_welcome.php"
#  9 for intitle:"simpleSAMLphp installation page" "Congratulations, you have successfully installed simpleSAMLphp"

# Dorks #
dorks [
'intitle:"simpleSAMLphp installation page"'
]



# Matches #
matches [

# Title
{ :text=>'<title>simpleSAMLphp installation page</title>' },

# simpleSAMLphp installation page
{ :regexp=>/<h1><a style="text-decoration: none; color: white" href="[^"]+">simpleSAMLphp installation page<\/a><\/h1>/ },

# Homepage Link
{ :text=>'<a href="http://rnd.feide.no/simplesamlphp">SimpleSAMLPhp </a>' },

# HTML Comment
{ :certainty=>75, :text=>'<!-- Grey header bar below -->' },

]

end

