Sha256: 70dde3a0ff7c7f5df28612b8f309b56e1f10e39291c44382c9fec2426128add1
Contents?: true
Size: 815 Bytes
Versions: 7
Compression:
Stored size: 815 Bytes
Contents
=begin Copyright 2010-2014 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
7 entries across 7 versions & 1 rubygems