Sha256: d3af74ce61c40546c7453597796e2d9c4cb96b7672c0022b4811cec4eb5adcc7
Contents?: true
Size: 685 Bytes
Versions: 7
Compression:
Stored size: 685 Bytes
Contents
=begin Copyright 2010-2014 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
7 entries across 7 versions & 1 rubygems