Sha256: 7826cc4125e5b842eabe0d4410b84ac033ef0aa9aee25f53ad2ee44ee65170a1
Contents?: true
Size: 1.06 KB
Versions: 5
Compression:
Stored size: 1.06 KB
Contents
=begin Copyright 2010-2022 Ecsypno <http://www.ecsypno.com> This file is part of the Arachni Framework project and is subject to redistribution and commercial restrictions. Please see the Arachni Framework web site for more information on licensing and terms of use. =end class Arachni::Reporters::HTML # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class PluginFormatters::UncommonHeaders < Arachni::Plugin::Formatter include TemplateUtilities def run ERB.new( tpl ).result( binding ) end def tpl <<-HTML <ul> <% results.each do |url, headers| %> <li> <a href="<%= escapeHTML url %>"><%= escapeHTML url %></a> <dl class="dl-horizontal"> <% headers.each do |name, value| %> <dt><%= escapeHTML name %></dt> <dd><code><%= escapeHTML value %></code></dd> <% end %> </dl> </li> <% end %> </ul> HTML end end end
Version data entries
5 entries across 5 versions & 1 rubygems