Sha256: 15783d5dfef3564c4d3b5789210bd680e27e0977b91dec95d947975921479b77
Contents?: true
Size: 1.11 KB
Versions: 5
Compression:
Stored size: 1.11 KB
Contents
=begin Copyright 2010-2022 Ecsypno <http://www.ecsypno.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::Stdout # Stdout formatter for the results of the ContentTypes plugin # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class PluginFormatters::ContentTypes < Arachni::Plugin::Formatter def run results.each do |type, responses| print_ok type responses.each do |res| print_status " URL: #{res['url']}" print_info " Method: #{res['method']}" if res['parameters'] && res['method'].downcase == 'post' print_info ' Parameters:' res['parameters'].each do |k, v| print_info " #{k} => #{v}" end end print_line end print_line end end end end
Version data entries
5 entries across 5 versions & 1 rubygems