"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/aardvark-topsites-php.rb" (15 Jan 2021, 1178 Bytes) of package /linux/www/WhatWeb-0.5.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 ##
    2 # This file is part of WhatWeb and may be subject to
    3 # redistribution and commercial restrictions. Please see the WhatWeb
    4 # web site for more information on licensing and terms of use.
    5 # https://www.morningstarsecurity.com/research/whatweb
    6 ##
    7 Plugin.define do
    8 name "Aardvark-Topsites-PHP"
    9 authors [
   10   "Brendan Coles <bcoles@gmail.com>", # 2010-06-26
   11   # v0.2 # Updated regex and version detection. 
   12 ]
   13 version "0.2"
   14 description "Aardvark Topsites PHP is a free topsites script built on PHP and MySQL."
   15 website "http://www.aardvarktopsitesphp.com/topsites/"
   16 
   17 # Dorks #
   18 dorks [
   19 '"Powered by Aardvark Topsites PHP"'
   20 ]
   21 
   22 # About 330,000 results for "Powered by Aardvark Topsites PHP" @ 2010-06-26
   23 
   24 
   25 matches [
   26 
   27 # GHDB Match
   28 { :ghdb=>'"Powered by Aardvark Topsites PHP"' },
   29 
   30 # Default powered by text
   31 { :regexp=>/Powered by <a href="http:\/\/www.aardvarktopsitesphp.com[^>]*>[^A]*Aardvark Topsites PHP/i },
   32 
   33 # Version detection # Powered by text
   34 { :version=>/Powered by <a href="http:\/\/www.aardvarktopsitesphp.com\/"><b>Aardvark Topsites PHP<\/b><\/a> ([\d\.]+)/ },
   35 { :version=>/Powered by <a href="http:\/\/www.aardvarkind.com\/">Aardvark Topsites PHP<\/a> ([\d\.]+)/ },
   36 
   37 ]
   38 
   39 end
   40