Sha256: 3c2d50b107b2d79d8b67900205a815ced8a6281363042b9bf4b640c00640371a

Contents?: true

Size: 1.5 KB

Versions: 6

Compression:

Stored size: 1.5 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 by Andrew Horton
## changed a match so it doens't use both url and status as this is leading to false positives because of a bug in the core in 0.4.8-dev

WhatWeb::Plugin.define "Traffic-Inspector" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-10-30
  @version = "0.2"
  @description = "An integrated gateway solution for controlling access to the Internet and for providing data transmission services."
  @website = "http://www.trafinsp.com/products/Traffic-Inspector/"

  # ShodanHQ results as at 2011-10-30 #
  # 141 for Traffic inspector

  # Matches #
  @matches = [

    # Version Detection # HTTP Server Header
    { search: "headers[server]", version: /^Traffic [Ii]nspector HTTP\/FTP\/Proxy server \(([^\)]+)\)$/ },

    # 403 Page # Hostname (?)

    # { :url=>"/", :status=>403, :string=>/<title>Error<\/title><\/head><body><h1>403 - Forbidden<\/h1><hr( class="footer")?>Traffic [Ii]nspector HTTP\/FTP\/Proxy server \([^\)]+\)<br>([^<^\/]+)\s*\/?\s*[\d]{2}\.[\d]{2}\.[\d]{2}/, :offset=>1 },

    { url: "/", string: /<title>Error<\/title><\/head><body><h1>403 - Forbidden<\/h1><hr( class="footer")?>Traffic [Ii]nspector HTTP\/FTP\/Proxy server \([^\)]+\)<br>([^<^\/]+)\s*\/?\s*[\d]{2}\.[\d]{2}\.[\d]{2}/, offset: 1 },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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