Sha256: 0f2d61985a6a0406ff6d43777453e89a4cfa5fb00df1933144d5d744bdd3c883
Contents?: true
Size: 608 Bytes
Versions: 5
Compression:
Stored size: 608 Bytes
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 # Extracts paths from anchor elements. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class Arachni::Parser::Extractors::Anchors < Arachni::Parser::Extractors::Base def run return [] if !check_for?( 'href' ) document.nodes_by_name( 'a' ).map { |a| a['href'] } end end
Version data entries
5 entries across 5 versions & 1 rubygems