Sha256: 4b685aee4a1885031d37f158ee3acfff7b9795e150d7aa6be8b91b8265a0a7c8

Contents?: true

Size: 1.25 KB

Versions: 6

Compression:

Stored size: 1.25 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
##
# Version 0.2 #
# Updated regex and version detection
##
WhatWeb::Plugin.define "Aardvark-Topsites-PHP" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-06-26
  @version = "0.2"
  @description = "Aardvark Topsites PHP is a free topsites script built on PHP and MySQL."
  @website = "http://www.aardvarktopsitesphp.com/topsites/"

  # Dorks #
  @dorks = [
    '"Powered by Aardvark Topsites PHP"'
  ]

  # About 330,000 results for "Powered by Aardvark Topsites PHP" @ 2010-06-26

  @matches = [

    # GHDB Match
    { ghdb: '"Powered by Aardvark Topsites PHP"' },

    # Default powered by text
    { regexp: /Powered by <a href="http:\/\/www.aardvarktopsitesphp.com[^>]*>[^A]*Aardvark Topsites PHP/i },

    # Version detection # Powered by text
    { version: /Powered by <a href="http:\/\/www.aardvarktopsitesphp.com\/"><b>Aardvark Topsites PHP<\/b><\/a> ([\d\.]+)/ },
    { version: /Powered by <a href="http:\/\/www.aardvarkind.com\/">Aardvark Topsites PHP<\/a> ([\d\.]+)/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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