Sha256: a3c0eb54b78fa365aa7a658090ac67d431c8cdb02ed9846f39b2ac85f296a154

Contents?: true

Size: 895 Bytes

Versions: 6

Compression:

Stored size: 895 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
##
WhatWeb::Plugin.define "WebspotBlogging" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2010-08-21
  @version = "0.1"
  @description = "Old blog"
  @website = "http://www.webspot.co.uk/"

  # 13 results for "powered by WebspotBlogging" @ 2010-08-21

  def passive(target)
    m = []

    if /Powered By <a href='http:\/\/www.webspot.co.uk\/' target='_blank'>WebspotBlogging<\/a> v[\d\.]+<BR>/.match?(target.body)
      version = target.body.scan(/Powered By <a href='http:\/\/www.webspot.co.uk\/' target='_blank'>WebspotBlogging<\/a> v([\d\.]+)<BR>/)[0][0]
      m << { version: version }
    end

    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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