Sha256: afb1b2307c36f0213df22284667f9078d9acece6ce191090ea79452cdd6784c0

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 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 FormDicattack plugin
    #
    # @author: Tasos "Zapotek" Laskos
    #                                      <tasos.laskos@gmail.com>
    #                                      <zapotek@segfault.gr>
    # @version: 0.1
    #
    class FormDicattack < Arachni::Plugin::Formatter

        def run
            return ERB.new( tpl ).result( binding )
        end

        def tpl
            %q{
                <h3>Credentials</h3>
                <strong>Username</strong>: <%=CGI.escapeHTML(@results[:username])%> <br/>
                <strong>Password</strong>: <%=CGI.escapeHTML(@results[:password])%>
            }
        end

    end

end
end

end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.0.4 reports/plugin_formatters/html/form_dicattack.rb
arachni-0.4.0.3 reports/plugin_formatters/html/form_dicattack.rb
arachni-0.4.0.2 reports/plugin_formatters/html/form_dicattack.rb
arachni-0.4.0.1 reports/plugin_formatters/html/form_dicattack.rb
arachni-0.4 reports/plugin_formatters/html/form_dicattack.rb