mirror of
https://github.com/urbanadventurer/WhatWeb
synced 2026-06-21 14:12:19 +00:00
24 lines
603 B
Ruby
24 lines
603 B
Ruby
##
|
|
# 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.
|
|
# https://www.morningstarsecurity.com/research/whatweb
|
|
##
|
|
Plugin.define do
|
|
name "Strict-Transport-Security"
|
|
authors [
|
|
"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
|
|
|