Sha256: f489ff41b890d5bb56476fe3eb3992a53a5bf574712172e618e426609264cd8a

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 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 "Mercurial" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-08-16
  @version = "0.1"
  @description = "Mercurial is a free, distributed source control management tool."
  @website = "http://mercurial.selenic.com/"

  # Google results as at 2011-08-16 #
  # 462 for Mercurial summary shortlog changelog graph tags branches files changeset bz2 zip gz
  # 239 for Mercurial summary shortlog changelog graph tags branches files changeset bz2 zip gz inurl:shortlog

  # Dorks #
  @dorks = [
    'Mercurial summary shortlog changelog graph tags branches files changeset bz2 zip gz'
  ]

  # Matches #
  @matches = [

    { text: '<a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a>' },

    # Powered by link
    { regexp: /<div id="powered-by">[\s]+<p><a href="http:\/\/mercurial\.selenic\.com\/" title="Mercurial">/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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