Sha256: ee8112f09b96c5a4b65c425c70baf1b206c2f9e8187596b70bd3b40046f60636

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

# coding: ascii-8bit
# 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
##
# Version 0.2 # 2011-02-25 #
# Updated version detection
##
WhatWeb::Plugin.define "Mihalism-Multi-Host" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-08-28
  @version = "0.2"
  @description = "An easy image hosting solution for everyone."
  @website = "http://www.mihalism.com/product/mmh/"

  # Google results as at 2010-08-28 #
  # 355 for "powered by Mihalism Multi Host"
  # 78  for "powered by Mihalism Multi Host" intitle:"MySQL Error (Powered by Mihalism Multi Host)"

  # Matches #
  @matches = [

    # Powered by text
    { text: 'Powered by <a href="http://www.mihalism.com/product/mmh/">Mihalism Multi Host</a>' },

    # Powered by HTML comment
    { regexp: /<!-- Powered by Mihalism Multi Host - Copyright \(c\) [\d\,\ ]+ Mihalism Technologies \(www.mihalism.net\) -->/ },
    { regexp: /<!-- Powered by Mihalism Multi Host - Copyright \(c\) [\d\,\ ]+ Mihalism, Inc. \(www.mihalism.com\) -->/ },

    # Error Page # Default Title
    { text: '					<title>Fatal Error (Powered by Mihalism Multi Host)</title>' },
    { text: '					<title>MySQL Error (Powered by Mihalism Multi Host)</title>' },

    # Install Page
    { text: '    <title>Mihalism Multi Host ยป Installation</title>' },
    { text: '<b style="color: #F00;">Warning:</b> Using this installer will erase any already existing Mihalism Multi Host installation.' },

    # Version Detection # Meta Version
    { version: /    <meta name="version" content="Mihalism Multi Host v([\d\.]+)" \/>/ },

  ]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_whatweb-0.2.0 lib/whatweb/plugins/mihalism-multi-host.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/mihalism-multi-host.rb