Sha256: 3c8bbbb463ea0c985f99362bfd77eaaba780223e10c0b953a6a600348d4689b8

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 "ClientExec" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-05-23
  @version = "0.1"
  @description = "ClientExec is a comprehensive and flexible web hosting billing solution designed for customer billing, helpdesk, e-mail and (team) management and communication. ClientExec was conceived and built with small to mid-sized hosting companies in mind."
  @website = "http://www.clientexec.com/"

  # ShodanHQ results as at 2011-05-23 #
  # 74 for CLIENTEXEC
  # 33 for fuse=newedge

  # Google results as at 2011-05-23 #
  # 254 for intitle:"Support Center - Powered By ClientExec"

  # Dorks #
  @dorks = [
    'intitle:"Support Center - Powered By ClientExec"'
  ]

  # Matches #
  @matches = [

    # HTML Comment
    { text: '<!-- These should not have debug at the end for production -->' },

    # Default Title
    { text: '<title>Support Center - Powered By ClientExec</title>' },

    # Login Form HTML
    { text: '<form action="index.php?fuse=admin&amp;action=Login&amp;public=1" method="post"' },

    # Theme Detection
    { module: /<img class="logo" src="templates\/([^\/]+)\/images\/public\/caption_photo\.jpg" alt="clientexec" \/>/ },

  ]

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

    # CLIENTEXEC Cookie
    if /CLIENTEXEC=[a-z\d]{26,32}; path=\//.match?(target.headers["set-cookie"])

      m << { name: "CLIENTEXEC Cookie" }

      # Unauthorized Version Installed
      if /^Cannot access EnterLicense view directly$/.match?(target.body)
        m << { string: "Unauthorized Version" }
      end

    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/clientexec.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/clientexec.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/clientexec.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/clientexec.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/clientexec.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/clientexec.rb