Sha256: 80d389b48e7fe1c7626f46af4f143a3934696e64652500a04b12b1a5fba9f99d
Contents?: true
Size: 1.98 KB
Versions: 6
Compression:
Stored size: 1.98 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 "Lantronix-Device" do @author = "Brendan Coles <bcoles@gmail.com>" # 2011-06-02 @version = "0.2" @description = "Lantronix provides device networking and remote access products for remote IT management allowing remote computer access and offsite device control. Manage industrial control systems, or administer your entire data center using KVM over IP switches." @website = "http://www.lantronix.com/" # ShodanHQ results as at 2011-06-02 # # 823 for Gordian Embedded # Matches # @matches = [ # Version Detection # /summary.html { url: "/summary.html", version: /<TITLE>Lantronix ThinWeb Manager ([\d\.]+): Home<\/TITLE>/ }, # Version Detection # /navigation.html { url: "/navigation.html", version: /<img src="logo\.gif" width=129 height=84 border=0 alt="Lantronix ThinWeb Manager ([\d\.]+)"><br>/ }, # Model Detection # /navigation.html { url: "/navigation.html", model: /<font face="Arial,Helvetica" color="#660066"><b>([^<]+)<\/b><\/font><br><br>/ }, # Version Detection { version: /^Gordian Embedded([\d\.]+)$/, search: "headers[server]" }, # HTTP Server Header { regexp: /^Gordian Embedded/, search: "headers[server]" }, ] # Passive # def passive(target) m = [] # HTTP Server Header if /^Gordian Embedded([\d\.]+)$/.match?(target.headers["server"]) # Model Detection m << { model: target.body.scan(/<font face="Arial,Helvetica" color="#660066"><b>([^<]+)<\/b><\/font><br><br>/) } if target.body =~ /<font face="Arial,Helvetica" color="#660066"><b>([^<]+)<\/b><\/font><br><br>/ end # Return passive matches m end end
Version data entries
6 entries across 6 versions & 1 rubygems