Sha256: cdc5f1ca037ffcd9fe32c0746e7799271016ac5a201cd2cdbfa06b31d9add5ef

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 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 "Phoenix-Contact-Device" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-08-02
  @version = "0.1"
  @description = "Phoenix Contact manufactures industrial automation, interconnection, and interface solutions. It offers terminal blocks, which include relays, signal conditioning, controller system cabling, surge suppression, transition interfaces, and custom interfaces; printed circuit board terminal blocks; controllers and IO; as well as industrial plug connectors."
  @website = "http://www.phoenixcontact.com/"

  # ShodanHQ results as at 2011-08-02 #
  # 71 for Phoenix-Contact

  # Passive #
  def passive(target)
    m = []

    # Version Detection # HTTP Server Header
    if target.headers["server"] =~ /^Phoenix-Contact\/([^\s]+) \(powered by SpiderControl TM\)$/
      m << { version: $1.to_s }
    end

    # Return passive matches
    m
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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