##
# 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 "Videosmate-Organizer"
authors [
  "Brendan Coles <bcoles@gmail.com>", # 2011-08-29
]
version "0.1"
description "Videosmate Organizer - Organize your favorite YouTube & Vimeo Videos on your own site in minutes. The script contains an API that can pull videos automatically from YouTube to your site based on the channel name or keywords that you enter. "
website "http://videosmate.com/"

# Google results as at 2011-08-29 #
# 71 for "Powered by Videosmate Organizer Version" Login. Username: Password: Sign Up

# Dorks #
dorks [
'"Powered by Videosmate Organizer Version" Login. Username: Password: Sign Up'
]



# Matches #
matches [

# HTML Comments
{ :text=>'</div> <!-- /content-in -->' },
{ :text=>'<!-- script Downloaded from http://videosmate.com -->' },

# Year Detection # HTML Comment
{ :string=>/<!--Copyright (20[\d]{2}),Videosmate Organizer[\s]+Downloaded from http:\/\/videosmate\.com/ },

# Version Detection # HTML Comment
{ :version=>/<!-- LICENSED Version  Videosmate ORGANIZER, Ver\.([^\s]+) -->/ },

# Version Detection # Powered by footer
{ :version=>/<a href=http:\/\/videosmate\.com><font color=#ffffff>Powered&nbsp;by&nbsp;Videosmate&nbsp;Organizer&nbsp;Version&nbsp;([^\s^&]+)&nbsp;Copyright&nbsp;&copy;&nbsp;(20[\d]{2})<\/a>/ },

# Year Detection # Powered by footer
{ :string=>/<a href=http:\/\/videosmate\.com><font color=#ffffff>Powered&nbsp;by&nbsp;Videosmate&nbsp;Organizer&nbsp;Version&nbsp;([^\s^&]+)&nbsp;Copyright&nbsp;&copy;&nbsp;(20[\d]{2})<\/a>/, :offset=>1 },

]

end

