Sha256: 766320f78e9eb7b79bb7870f37774e0444500232fa068b1a4f4c706a9ed248a5
Contents?: true
Size: 685 Bytes
Versions: 6
Compression:
Stored size: 685 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 # 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
6 entries across 6 versions & 1 rubygems