Sha256: 7ea0097c1b22fe5169373228491eea47a8403f5bc8a3554ef1bb73b0d4aecb9b

Contents?: true

Size: 1.89 KB

Versions: 6

Compression:

Stored size: 1.89 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 "SugarCRM" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-04-02
  @version = "0.1"
  @description = "Commercial open source customer relationship management (CRM). CRM software for sales force automation and customer support deployed on demand or on site."
  @website = "http://www.sugarcrm.com/crm/"

  # Google results as at 2011-04-02 #
  # 34 for "Welcome to" intitle:SugarCRM "SugarCRM Inc. The Program is provided AS IS, without warranty. Licensed under AGPLv3."

  # Dorks #
  @dorks = [
    '"Welcome to" intitle:SugarCRM "SugarCRM Inc. The Program is provided AS IS, without warranty. Licensed under AGPLv3."'
  ]

  # Matches #
  @matches = [

    # XSRF Warning Message
    { text: "<h3 style='color:red'>Possible Cross Site Request Forgery (XSRF) Attack Detected</h3>" },

    # Login Page # Support link
    { text: '<span>|</span>    <a href=" javascript:void window.open(\'http://support.sugarcrm.com\')">Support</a>' },

    # JavaScript
    { text: "<script>var module_sugar_grp1 = 'Users';</script><script>var action_sugar_grp1 = 'Login';</script><script>jscal_today" },

    # Theme Detection
    { module: /<script type="text\/javascript">[\s]+<!--[\s]+SUGAR\.themes\.theme_name      = '([^']+)';[\s]+SUGAR\.themes\.theme_ie6compat = / },

    # Powered by image
    { text: "<img style='margin-top: 2px' border='0' width='106' height='23' src='include/images/poweredby_sugarcrm.png' alt='Powered By SugarCRM'>" },

    # Year Detection
    { string: /\* SugarCRM is a customer relationship management program developed by[\s]+ \* SugarCRM, Inc\. Copyright \(C\) 2004-([\d]{4}) SugarCRM Inc\./ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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