Sha256: 2e040efb60ba6609cf6b501b0c46f690b933b22a6ba8ce81176ec83cf0ceebaa

Contents?: true

Size: 1.84 KB

Versions: 6

Compression:

Stored size: 1.84 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 "Clearwell-E-Discovery" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-05-21
  @version = "0.1"
  @description = "The Clearwell E-Discovery Platform is the leading enterprise e-discovery solution that enables enterprises, governments, and law firms to manage legal, regulatory, and investigative matters using a single application. The Clearwell Platform was purpose-built for e-discovery, making it easy for organizations to defensibly solve real-world challenges across the entire e-discovery lifecycle from legal hold and collections through analysis, review and production."
  @website = "http://www.clearwellsystems.com/"

  # ShodanHQ results as at 2011-05-21 #
  # 124 for Clearwell

  # Google results as at 2011-05-21 #
  # 1 for intitle:"Clearwell E-Discovery Platform log in"

  # Dorks #
  @dorks = [
    'intitle:"Clearwell E-Discovery Platform log in"'
  ]

  # Matches #
  @matches = [

    # Login Page # Help link
    { url: "/esa/", text: '/><a class="needHelp" style="text-decoration:none" href="javascript:logonHelp();void(0);">Need help?</a>' },

    # Login Page # Default Title # /esa/
    { url: "/esa/", text: '<title>Clearwell E-Discovery Platform log in</title>' },

  ]

  # Passive #
  def passive(target)
    m = []

    # HTTP Server Header
    if /^Clearwell$/.match?(target.headers["server"])

      m << { name: "HTTP Server Header" }

      # Version Detection
      m << { version: target.body.scan(/<p class="build">v([^<]+)<\/p>/) } if target.body =~ /<p class="build">v([^<]+)<\/p>/

    end

    # Return passive matches
    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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