mirror of
https://github.com/urbanadventurer/WhatWeb
synced 2026-06-21 14:12:19 +00:00
65 lines
2.1 KiB
Ruby
65 lines
2.1 KiB
Ruby
##
|
|
# 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 "Coppermine"
|
|
authors [
|
|
"Andrew Horton",
|
|
# v0.2 # removed :name and :certainty=>100.
|
|
# v0.3 # Uses :version=>//.
|
|
# Andrew Horton, # v0.4 # 2016-04-17 # Updated description and added website.
|
|
]
|
|
version "0.4"
|
|
description "Open-source Photo Gallery powered by PHP & MySQL"
|
|
website "http://www.coppermine-gallery.net/"
|
|
|
|
# Coppermine version: 1.4.19
|
|
=begin
|
|
<!--
|
|
SVN version info:
|
|
Coppermine version: 1.4.19
|
|
$Revision: 4392 $
|
|
$LastChangedBy: gaugau $
|
|
$Date: 2008-04-16 09:25:35 +0200 (Mi, 16 Apr 2008) $
|
|
-->
|
|
=end
|
|
# <!-- BEGIN album_list -->
|
|
# Powered by <a href="http://coppermine-gallery.net/" title="Coppermine Photo Gallery" rel="external">Coppermine Photo Gallery</a>
|
|
# <!--Coppermine Photo Gallery 1.4.19 (stable)-->
|
|
|
|
|
|
# with joomla
|
|
# <!-- +++++++++++++++++++ coppermine begin +++++++++++++++++++ -->
|
|
|
|
# <title>Coppermine Photo Gallery - Home</title>
|
|
# <!--Coppermine Photo Gallery 1.3.2-->
|
|
# Powered by <a href="http://coppermine.sf.net/" target="_blank">Coppermine Photo Gallery</a>
|
|
|
|
# <!--Coppermine Photo Gallery 1.4.10 (stable)-->
|
|
# Powered by <a href="http://coppermine.sourceforge.net/" title="Coppermine Photo Gallery" rel="external">Coppermine Photo Gallery</a>
|
|
|
|
# <a href="displayimage.php?album=lastup&cat=0&pos=6">
|
|
|
|
matches [
|
|
|
|
{:text=>"<title>Coppermine Photo Gallery - Home</title>" },
|
|
{:regexp=>/Coppermine version: ([0-9\.]+)[ \n]*\$Revision/ },
|
|
{:text=>"<!-- BEGIN album_list -->" },
|
|
{:name=>"powered by link",
|
|
:regexp=>/Powered by <a href="http:\/\/(coppermine-gallery.net|coppermine.sf.net|coppermine.sourceforge.net)\/" [^>]+>Coppermine Photo Gallery<\/a>/ },
|
|
{:regexp=>/<!--Coppermine Photo Gallery ([\d\.]+)[^>]+-->/ },
|
|
{:name=>"displayimage.php url",
|
|
:certainty=>50,
|
|
:regexp=>/<a href="[^"]*\/displayimage.php\?album=[a-z0-9]+&pos=">/ }, # "
|
|
|
|
{:version=>/<!--Coppermine Photo Gallery ([\d\.]+[^>]+)-->/, :name=>"<!--Coppermine Photo Gallery" } #"
|
|
|
|
]
|
|
end
|
|
|
|
|
|
|