Sha256: a4660204ddc6d49a821978b5becd904767c38445c23b5d16aed310e9217672ca
Contents?: true
Size: 1.38 KB
Versions: 5
Compression:
Stored size: 1.38 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 # # @author: Tasos "Zapotek" Laskos # <tasos.laskos@gmail.com> # <zapotek@segfault.gr> # @version: 0.1 # class Resolver < Arachni::Plugin::Formatter def run return ERB.new( tpl ).result( binding ) end def tpl %q{ <h3>Results</h3> <table> <tr> <th> Hostname </th> <th> IP Address </th> </tr> <% @results.each do |hostname, ipaddress| %> <tr> <td> <%= hostname %> </td> <td> <%= ipaddress %> </td> </tr> <%end%> </table> } end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems