Sha256: 3e81ff7b9cde770b97246ccd92e566281432caabb945223a11a961eb05ba0f03

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 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 # 2011-03-19 # Brendan Coles <bcoles@gmail.com>
# Updated regex
##
WhatWeb::Plugin.define "Juniper-Load-Balancer" do
  @author = "Aung Khant <http://yehg.net/>" # 2011-02-04
  @version = "0.2"
  @description = "Juniper Networks Application Acceleration and Load Balancing Platforms"
  @website = "http://juniper.net/ - Note: This will slow down your web app pentest scanning. Use only manual fuzzing with time throttling."

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

    # Cookie
    m << { name: "cookie (rl-sticky-key)" } if target.headers["set-cookie"] =~ /rl\-sticky\-key/i

    # Via HTTP Header
    if /Juniper Networks Application Acceleration Platform/i.match?(target.headers["via"])

      m << { name: "via header" }

      # Version Detection # Via HTTP Header
      if /Juniper Networks Application Acceleration Platform \- ([^<^\)]+)/i.match?(target.headers['via'])
        m << { version: target.headers['via'].scan(/Juniper Networks Application Acceleration Platform \- ([^<^\)]+)/i) }
      end

    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/juniper-load-balancer.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/juniper-load-balancer.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/juniper-load-balancer.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/juniper-load-balancer.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/juniper-load-balancer.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/juniper-load-balancer.rb