Sha256: 21140f9af7959fd88c462258dc6a05beb331fce8ad2ef809fe0d0e203a8762c3
Contents?: true
Size: 831 Bytes
Versions: 3
Compression:
Stored size: 831 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.3 # 2011-04-02 # # Updated regex ## # Version 0.2 # removed :certainty=>100 ## WhatWeb::Plugin.define "X-Powered-By" do @author = "Andrew Horton" @version = "0.3" @description = "X-Powered-By HTTP header" # ShodanHQ results as at 2011-04-02 # # 7,122,968 for x-powered-by # Passive # def passive(target) m = [] # X-Powered-By Headers unless target.headers["x-powered-by"].nil? m << { name: "x-powered-by string", string: target.headers["x-powered-by"] } end # Return passive matches m end end
Version data entries
3 entries across 3 versions & 1 rubygems