Sha256: aa85702e47bb2713acfdc0947b1ff95e287b428adb1709737adbc12eded5f367

Contents?: true

Size: 1.32 KB

Versions: 6

Compression:

Stored size: 1.32 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
##
# Version 0.2 # 2016-04-21 # Andrew Horton
# Moved patterns from passive function to matches[]
##
WhatWeb::Plugin.define "LANCOM-Device" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-06-02
  @version = "0.2"
  @description = "LANCOM Systems is a provider of innovative and reliable communications solutions, Secure Access, VPN and Wireless LAN with high technological capabilities, easy configuration and unified control of all products."
  @website = "http://www.lancom-systems.nl/"

  # ShodanHQ results as at 2011-06-02 #
  # 32,344 for LANCOM

  @matches = [
    # HTTP Server Header
    { regexp: /^LANCOM/, search: "headers[server]" },

    # Version Detection
    { version: /^LANCOM [^\s]+ .+ ([\d\.]+) \/ [\d]{2}\.[\d]{2}\.[\d]{4}$/, search: "headers[server]" },

    # Model Detection
    { model: /^LANCOM ([^\s]+) .+ [\d\.]+ \/ [\d]{2}\.[\d]{2}\.[\d]{4}$/, search: "headers[server]" },

    # Device Detection (Wireless Router, VPN, VoIPm etc)
    { string: /^LANCOM [^\s]+ (.+) [\d\.]+ \/ [\d]{2}\.[\d]{2}\.[\d]{4}$/, search: "headers[server]" },
  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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