Sha256: 1566a9749ddeb19d28f258fc83bfb994d1326d79e598bd4bda314b32438d46e0
Contents?: true
Size: 815 Bytes
Versions: 6
Compression:
Stored size: 815 Bytes
Contents
=begin Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.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::XML # XML formatter for the results of the AutoLogin plugin # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class PluginFormatters::AutoLogin < Arachni::Plugin::Formatter def run( xml ) xml.message results['message'] xml.status results['status'] if results['cookies'] xml.cookies { results['cookies'].each { |name, value| xml.cookie name: name, value: value } } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems