Sha256: f3a79dcbc9c6a8ae9bfc7ce5f387b106fb8b59477beb253a3fa4caa569c00480

Contents?: true

Size: 779 Bytes

Versions: 6

Compression:

Stored size: 779 Bytes

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
##
# Version 0.2 # 2011-02-24 # Brendan Coles <bcoles@gmail.com>
# Updated string regexp
##
# Version 0.2
# remove :certainty
##
WhatWeb::Plugin.define "MetaPoweredBy" do
  @author = "Andrew Horton"
  @version = "0.3"
  @description = "This plugin extracts the values for meta tags named poweredby, powered-by, and powered by"

  # Matches #
  @matches = [

    # Matches poweredby, powered-by, and powered by
    { string: /<meta[^>]+name=["']powered[\- ]?by["'][^>]+content=["']([^"]+)["']/i },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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