Sha256: 6788c34e93149d19d8578955d6c4afb2e99539a8d62ee83ac364297c80668cbf
Contents?: true
Size: 670 Bytes
Versions: 5
Compression:
Stored size: 670 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 # URL option. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class Arachni::Component::Options::URL < Arachni::Component::Options::Base def normalize Arachni::URI( effective_value ) end def valid? return false if !super IPSocket.getaddress( normalize.host ) rescue false end def type :url end end
Version data entries
5 entries across 5 versions & 1 rubygems