Sha256: 7036f4e50c99a7e0adf2df8f97f89022b239e9ead4211bc9cb70701f2422d2f1

Contents?: true

Size: 979 Bytes

Versions: 6

Compression:

Stored size: 979 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
##
# Version 0.2 # 2016-04-23 # Andrew Horton
# Moved patterns from passive function to matches[]
##
WhatWeb::Plugin.define "NetPort" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-05-30
  @version = "0.2"
  @description = "NetPort server - used by several routers."

  # ShodanHQ results as at 2011-05-30 #
  # 83,817 for NetPort

  @matches = [

    # HTTP Server Header
    { regexp: /^NetPort Software/, search: "headers[server]" },

    # Version Detection
    { version: /^NetPort Software ([^\s]+)$/, search: "headers[server]" },

    # Netport HTTP Header # Netport: Power by NetPort
    { name: "Netport HTTP Header", regexp: /^Power by NetPort$/, search: "headers[netport]" },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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