Sha256: e3fdb60b4d49c96e8f75e8febedf15342ef985b2c9467b9da5ed795a15d281f3

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

# frozen_string_literal: true

##
# 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
##
WhatWeb::Plugin.define "PHP-Photo-Album" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-11-22
  @version = "0.1"
  @description = "PHP Photo Album"
  @website = "http://www.phpalbum.net/dw"

  # Google results as at 2011-11-22 #
  # 456 for "Powered by PHP Photo Album"
  #  49 for inurl:main.php?cmd=imageview&var1=

  # Dorks #
  @dorks = [
    '"Powered by PHP Photo Album"'
  ]

  # Matches #
  @matches = [

    # HTML Comment # Version Detection
    { certainty: 75, version: /<!--phpalbum ([^\s]+) -->/ },

    # StyleSheet
    { text: '<LINK REL="stylesheet" HREF="main.php?cmd=theme&var1=style_css" TYPE="text/css">' },

    # Powered by link
    { text: '<font size="2">Powered by </font><a class="me" href="http://www.phpalbum.net"><font size="2">PHP Photo Album</font></a>' },

    # Powered by HTML Comment
    { text: '<!-- <font size="2">Powered by <a class="me"href="http://www.phpalbum.net">PHP Photo Album</font></a> -->' },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/php-photo-album.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/php-photo-album.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/php-photo-album.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/php-photo-album.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/php-photo-album.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/php-photo-album.rb