Sha256: 2e38ee18e7646f707a93597846d9500c2d657b5820a63cb73eac9565dea7476c

Contents?: true

Size: 833 Bytes

Versions: 6

Compression:

Stored size: 833 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
##
WhatWeb::Plugin.define "PowerDNS" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-05-20
  @version = "0.1"
  @description = "PowerDNS is a high performance, non-BIND nameserver written in c++"
  @website = "http://www.powerdns.com/"

  # ShodanHQ results as at 2011-05-20 #
  # 12 for PowerDNS

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

    # WWW-Authenticate: Basic realm="PowerDNS"
    m << { name: "WWW-Authenticate realm" } if target.headers["www-authenticate"] =~ /^Basic realm="PowerDNS"$/

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