Sha256: f9229be4875a1aae2f7a90c81aed3becd43402fc6b46aac744bcadb63aa49b90

Contents?: true

Size: 1.24 KB

Versions: 6

Compression:

Stored size: 1.24 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 "TOTVS-SmartClient" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-04-24
  @version = "0.1"
  @description = "TOTVS SmartClient MacOS TOTVS Application Server."
  @website = "http://www.totvs.com/"

  # ShodanHQ results as at 2012-04-24 #
  # 17 for TotvsSmartClient

  # Google results as at 2012-04-24 #
  # 12 for intitle:"TOTVSSMARTCLIENT" "URL do Totvs Server"

  # Dorks #
  @dorks = [
    'intitle:"TOTVSSMARTCLIENT" "URL do Totvs Server"'
  ]

  # Matches #
  @matches = [

    # TotvsSmartClientax.cab # Version Detection
    { version: /<object\s+classid="clsid:[a-f\d\-]+"\s+codebase="TotvsSmartClientax\.cab#version=([^"]+)"/ },

    # param name # StartProgram
    { string: /<param name="StartProgram" value="([^"]+)"> <<= Programa/ },

    # param name # Environment
    { string: /<param name="Environment" value="([^"]+)"> <<= Ambiente/ },

    # HTTP Header
    { search: "headers[TotvsSmartClient]", regexp: /^TotvsSmartClient$/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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