##
# 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://morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "Unimep-Station-Controller"
authors [
  "Brendan Coles <bcoles@gmail.com>", # 2011-08-16
]
version "0.1"
description "Mepsan fuel pump controller"
website "http://www.mepsan.com.tr/eng/index.htm"

# Google results as at 2011-08-16 #
# 30 results for intitle:"UniMep Station Controller"

# Dorks #
dorks [
'intitle:"UniMep Station Controller"'
]



# Matches #
matches [

# Meta Description
{ :text=>'<META Name="Description" Content="UniMep Station Controller">' },

# USC Version link
{ :text=>'<center><a href="cgi-bin/usc.ver.cgi">USC&nbsp;Version</a>' },

# MAC Address
{ :string=>/<TITLE>([A-F:\d]{17}) UniMep Station Controller<\/TITLE>/ },

# Log link
{ :text=>'<a href="cgi-bin/log.log.cgi" target="_blank">Log1.cgi</a>&nbsp;<a href="/Log.log" target="_blank">Log1.log</a>' },

# Cashier link
{ :text=>"<input type='button' value='Cashier' onclick=\"window.open('/cgi-bin/cashier.cgi?usc_ip=" },

]

end

