Sha256: fc1f375edb7abdfbde533a7d7f38febeb1a20d4daf12f8e0051ffb396e237d5f

Contents?: true

Size: 797 Bytes

Versions: 6

Compression:

Stored size: 797 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 "Proxy-Authenticate" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-01-09
  @version = "0.2"
  @description = "This plugin extracts the realm from the proxy-authenticate HTTP header."

  # About 1402 ShodanHQ results for proxy-authenticate @ 2011-01-09

  @matches = [

    # Proxy-Authenticate HTTP Header
    { string: /realm="([^"]+)"/, search: "headers[proxy-authenticate]" },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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