Sha256: cb4a187a64cf2d30e1d82f7f41cba1a1c4ddbae93fd796d04b91461d3090dc58
Contents?: true
Size: 675 Bytes
Versions: 5
Compression:
Stored size: 675 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 # Extracts paths from frames. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> # @version 0.2 class Arachni::Parser::Extractors::Frames < Arachni::Parser::Extractors::Base def run return [] if !includes?( 'frame' ) document.css( 'frame', 'iframe' ). map { |a| a.attributes['src'].content rescue next } end end
Version data entries
5 entries across 5 versions & 1 rubygems