Sha256: d306cf8174f68dedbe4099437249b74a0bab35d17ee01907ffecd5fdc4f26051

Contents?: true

Size: 799 Bytes

Versions: 6

Compression:

Stored size: 799 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 "CUPS" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-12-05
  @version = "0.1"
  @description = "Common UNIX Printing System (CUPS)"
  @website = "http://www.cups.org/"

  # ShodanHQ results as at 2011-12-05 #
  # 19 for CUPS Upgrade

  # Matches #
  @matches = [

    # Version Detection # HTTP Server Header
    { search: "headers[server]", version: /^CUPS\/([^\s]+)$/ },

    # Upgrade Header
    { search: "headers[upgrade]", regexp: /^TLS\/1\.0,HTTP\/1\.1$/, certainty: 25 },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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