Sha256: dc5bb04734ae4813f1aebbb17bbabdedef066a134b5486e81b9ebcb75c69ac20

Contents?: true

Size: 1.81 KB

Versions: 6

Compression:

Stored size: 1.81 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 "Infomaster" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-10-16
  @version = "0.1"
  @description = "InfoMaster ePlanning software - asset management and property development application tracking and planning"
  @website = "http://www.infomaster.com.au/"

  # Google results as at 2011-10-16 #
  # 40 for "Powered by Infomaster"
  # 33 for inurl:"modules/applicationmaster/default.aspx"
  # 30 for inurl:"modules/propertymaster/default.aspx"
  # 29 for (inurl:"modules/applicationmaster/default.aspx"|inurl:"modules/propertymaster/default.aspx")
  #  9 for intitle:"MasterView 2.0 Property Master"

  # Dorks #
  @dorks = [
    '"Powered by Infomaster"',
    '(inurl:"modules/applicationmaster/default.aspx"|inurl:"modules/propertymaster/default.aspx")'
  ]

  # Matches #
  @matches = [

    # Version Detection # Title
    { version: /<head><title>[\s]+MasterView ([\d\.]+) Property Master[\s]+<\/title>/, string: "MasterView" },

    # Class + Powered by
    { regexp: /class="ackn">[\s]*Powered by InfoMaster/ },

    # StyleSheets
    { text: '<link href="../../MasterView.css" type="text/css" rel="stylesheet"', string: "MasterView" },
    { text: '<link href="../../App_Themes/MasterView/MPLeftNavStyle/PanelBar.MPIFMA.css" type="text/css" rel="stylesheet" />', string: "MasterView" },

    # JavaScript
    { text: '<script language="javascript" src="../../common/masterView.js"></script>', string: "MasterView" },

    # Form
    { string: /<form name="frm(MasterView|MasterPlan)" method="post" action="default\.aspx/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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