Sha256: 48ae05a9e3efb7988c55e1807f0ceb7903a5814957bc428884204bd04c3c187f
Contents?: true
Size: 1.1 KB
Versions: 5
Compression:
Stored size: 1.1 KB
Contents
=begin Arachni Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> This is free software; you can copy and distribute and modify this program under the term of the GPL v2.0 License (See LICENSE file for details) =end module Arachni module Reports class HTML module PluginFormatters # # HTML formatter for the results of the AutoLogin plugin # # @author: Tasos "Zapotek" Laskos # <tasos.laskos@gmail.com> # <zapotek@segfault.gr> # @version: 0.1 # class AutoLogin < Arachni::Plugin::Formatter def run return ERB.new( tpl ).result( binding ) end def tpl %q{ <% if @results[:cookies].is_a?( Hash )%> <h3>Cookies were set to:</h3> <ul> <% @results[:cookies].each_pair do |name, val|%> <li><%=name%> = <%=val%></li> <%end%> <ul> <%end%> } end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems