Sha256: c23cbdfa4f57e8274d0eec84cc8ad1a908dbcb3d81ea136eed897255351be47c

Contents?: true

Size: 1 KB

Versions: 6

Compression:

Stored size: 1 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 "Sphinx" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-07-04
  @version = "0.1"
  @description = "Sphinx is a tool that makes it easy to create intelligent and beautiful documentation"
  @website = "http://sphinx.pocoo.org/"

  # Google results as at 2011-07-04 #
  # 363 for "Created using Sphinx" +Copyright

  # Dorks #
  @dorks = [
    '"Created using Sphinx" "Copyright"'
  ]

  # Matches #
  @matches = [

    # Version Detection # Created using link
    { version: /Created using <a href="http:\/\/sphinx\.pocoo\.org\/">Sphinx<\/a> ([^\s]+)\./ },

    # div class="sphinxsidebar" and div class="sphinxsidebarwrapper"
    { regexp: /<div class="sphinxsidebar">[\s]+<div class="sphinxsidebarwrapper">/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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