Sha256: 7c1e4f1f8add48ebc9202359e97111ea2a19a19784ab6b6f352102052b165ad3

Contents?: true

Size: 1.34 KB

Versions: 6

Compression:

Stored size: 1.34 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 "Amiro-CMS" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-09-04
  @version = "0.1"
  @description = "Amiro.CMS is a top-notch website development and content management system with several dynamic features and a user-friendly interface."
  @website = "http://www.amirocms.com/"

  # Dorks #
  @dorks = [
    '"powered by Amiro.CMS"'
  ]

  # 235 results for "powered by Amiro.CMS" @ 2010-09-04

  @matches = [

    # Powered by text
    { text: "<a href='http://www.amirocms.com' target=_blank>Powered by: Amiro CMS</a>" },
    { text: '<a href="http://www.amirocms.com/" target=_blank><FONT size=1><B>Powered by: Amiro CMS</B></FONT></A>' },

  ]

  # Meta generator over multiple lines:
  # <meta name="GENERATOR" content="
  # -= Amiro.CMS (c) =-
  # www.amirocms.com
  # ">

  def passive(target)
    m = []

    if target.body =~ /<meta name="GENERATOR" content="/ && target.body =~ / -= Amiro.CMS \(c\) =- / && (target.body =~ / www.amiro.ru / || target.body =~ / www.amirocms.com /)
      m << { name: "multi-line meta generator" }
    end

    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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