Sha256: 35feff33962244952825c076e09ec1dbe7a65e3cc7354605db4e83760f9e1baf

Contents?: true

Size: 653 Bytes

Versions: 6

Compression:

Stored size: 653 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 "Strict-Transport-Security" do
  @author = "Andrew Horton" # 2016-04-30
  @version = "0.1"
  @description = "Strict-Transport-Security is an HTTP header that restricts a web browser from accessing a website \
  without the security of the HTTPS protocol."

  @matches = [

    { search: "headers[Strict-Transport-Security]", string: /^(.*)$/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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