Sha256: 6d52318207e0b1e10da5d89724af6eff0c99b95953728b5898ca65d426f022a8

Contents?: true

Size: 1.36 KB

Versions: 6

Compression:

Stored size: 1.36 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 "iLON-SmartServer" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-03-15
  @version = "0.1"
  @description = "Echelon's i.LON SmartServer 2.0 is a versatile smart energy manager that helps your business achieve its operating and energy-efficiency goals. Designed to connect to IP-based applications such as enterprise energy management solutions, demand response programs, streetlight management systems, and high-value remote asset management programs, the server lets you link thousands of electronic devices to control centers."
  @website = "http://www.echelon.com/products/cis/smartserver/default.htm"

  # ShodanHQ results as at 2011-03-15 #
  # 1,567 for i.LON realm wind

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

    # Server(WindRiver or WindWeb) and WWW-Authenticate(Basic realm="i.LON")
    if (target.headers["server"] =~ /^WindRiver/ || target.headers["server"] =~ /WindWeb/) && target.headers["www-authenticate"] =~ /^Basic realm="i\.LON"$/

      m << { name: "HTTP Server and WWW-Authenticate headers" }

    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/i.lon-smartserver.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/i.lon-smartserver.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/i.lon-smartserver.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/i.lon-smartserver.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/i.lon-smartserver.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/i.lon-smartserver.rb